fix std:: namespace problems
authorDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 01:34:34 +0000 (01:34 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 7 Aug 2002 01:34:34 +0000 (01:34 +0000)
util/epist/keytree.cc
util/epist/parser.cc
util/epist/parser.hh

index 3f4b990..cf0dd37 100644 (file)
 
 #include "keytree.hh"
 
+#include <string>
+
+using std::string;
+
+
 keytree::keytree(Display *display) : _display(display)
 {
   _head = new keynode;
index 660a876..bbf5dad 100644 (file)
@@ -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("") 
 {
 }
 
index 148649b..a66e414 100644 (file)
@@ -1,7 +1,8 @@
-#include <string>
 #include "actions.hh"
 #include "keytree.hh"
 
+#include <string>
+
 class parser {
 public:
     parser(keytree *);