summaryrefslogtreecommitdiff
path: root/util/epist
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-07 01:34:34 +0000
committerDana Jansens <danakj@orodu.net>2002-08-07 01:34:34 +0000
commit71f05fc2a4bc536f5c096e7ca756cd539ead911d (patch)
tree17e53e0e2098b4d16843201daabddb0be1cb0e62 /util/epist
parent4c10947be5885d977a252d6300f4cb2b5646d8ec (diff)
fix std:: namespace problems
Diffstat (limited to 'util/epist')
-rw-r--r--util/epist/keytree.cc5
-rw-r--r--util/epist/parser.cc8
-rw-r--r--util/epist/parser.hh3
3 files changed, 14 insertions, 2 deletions
diff --git a/util/epist/keytree.cc b/util/epist/keytree.cc
index 3f4b9906..cf0dd379 100644
--- a/util/epist/keytree.cc
+++ b/util/epist/keytree.cc
@@ -22,6 +22,11 @@
#include "keytree.hh"
+#include <string>
+
+using std::string;
+
+
keytree::keytree(Display *display) : _display(display)
{
_head = new keynode;
diff --git a/util/epist/parser.cc b/util/epist/parser.cc
index 660a876f..bbf5dad1 100644
--- a/util/epist/parser.cc
+++ b/util/epist/parser.cc
@@ -1,10 +1,16 @@
extern "C" {
#include <stdio.h>
}
+
#include "parser.hh"
+#include <string>
+
+using std::string;
+
+
parser::parser(keytree *kt)
- : _mask(0), _action(Action::noaction), _key(""), _arg(""), _kt(kt)
+ : _kt(kt), _mask(0), _action(Action::noaction), _key(""), _arg("")
{
}
diff --git a/util/epist/parser.hh b/util/epist/parser.hh
index 148649bd..a66e4141 100644
--- a/util/epist/parser.hh
+++ b/util/epist/parser.hh
@@ -1,7 +1,8 @@
-#include <string>
#include "actions.hh"
#include "keytree.hh"
+#include <string>
+
class parser {
public:
parser(keytree *);