summaryrefslogtreecommitdiff
path: root/ept/debtags/debtags.h
diff options
context:
space:
mode:
Diffstat (limited to 'ept/debtags/debtags.h')
-rw-r--r--ept/debtags/debtags.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/ept/debtags/debtags.h b/ept/debtags/debtags.h
index c908f0d..52d9347 100644
--- a/ept/debtags/debtags.h
+++ b/ept/debtags/debtags.h
@@ -26,18 +26,11 @@
#ifndef EPT_DEBTAGS_DEBTAGS_H
#define EPT_DEBTAGS_DEBTAGS_H
-#include <tagcoll/coll/base.h>
-#include <tagcoll/coll/fast.h>
+#include <ept/debtags/coll/fast.h>
#include <string>
namespace ept {
namespace debtags {
-class Debtags;
-}
-}
-
-namespace ept {
-namespace debtags {
/**
* Access the on-disk Debtags tag database.
@@ -51,7 +44,7 @@ namespace debtags {
* It is possible to get a reference to the Vocabulary object using the
* vocabulary() method.
*/
-class Debtags : public tagcoll::coll::Fast<std::string, std::string>
+class Debtags : public coll::Fast
{
protected:
// User rc directory to store patches
@@ -63,8 +56,8 @@ protected:
void load(const std::string& pathname);
public:
- typedef tagcoll::coll::Fast<std::string, std::string> coll_type;
- typedef std::pair< std::string, std::set<std::string> > value_type;
+ typedef ept::debtags::coll::Fast coll_type;
+ typedef std::pair< std::string, std::set<std::string> > value_type;
/// Create a Debtags object, reading the system database
Debtags();
@@ -90,7 +83,6 @@ public:
static std::string pathname();
};
-
}
}