fix std:: namespace problems

This commit is contained in:
Dana Jansens 2002-08-07 01:34:34 +00:00
parent 4c10947be5
commit 71f05fc2a4
3 changed files with 14 additions and 2 deletions

View file

@ -22,6 +22,11 @@
#include "keytree.hh" #include "keytree.hh"
#include <string>
using std::string;
keytree::keytree(Display *display) : _display(display) keytree::keytree(Display *display) : _display(display)
{ {
_head = new keynode; _head = new keynode;

View file

@ -1,10 +1,16 @@
extern "C" { extern "C" {
#include <stdio.h> #include <stdio.h>
} }
#include "parser.hh" #include "parser.hh"
#include <string>
using std::string;
parser::parser(keytree *kt) parser::parser(keytree *kt)
: _mask(0), _action(Action::noaction), _key(""), _arg(""), _kt(kt) : _kt(kt), _mask(0), _action(Action::noaction), _key(""), _arg("")
{ {
} }

View file

@ -1,7 +1,8 @@
#include <string>
#include "actions.hh" #include "actions.hh"
#include "keytree.hh" #include "keytree.hh"
#include <string>
class parser { class parser {
public: public:
parser(keytree *); parser(keytree *);