diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-07-21 15:32:10 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-07-21 15:32:10 +0930 |
commit | 7b8b6a89316addc627a74aa6549f51cfa36a3ab3 (patch) | |
tree | 660aeb8c9d9919377f51238d47e507e598e21447 | |
parent | 1eb87d87bd23d7636d95b6a53564a341c63cdb3a (diff) |
Change declaration for static variables in class files.
Declaring statics with Classname::Foobar() doesn't work with new g++.
-rw-r--r-- | src/Config.h | 4 | ||||
-rw-r--r-- | src/Process.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Config.h b/src/Config.h index d6f0732..57bf757 100644 --- a/src/Config.h +++ b/src/Config.h @@ -63,8 +63,8 @@ class Config public: - static Config* Config::getInstance(); - static void Config::init(XConn* x11); + static Config* getInstance(); + static void init(XConn* x11); long cursorColor(int cursor); diff --git a/src/Process.h b/src/Process.h index b662d93..be9f1aa 100644 --- a/src/Process.h +++ b/src/Process.h @@ -27,10 +27,10 @@ class PointerDevice; class Process { private: - static map<int,Process*> Process::processes; + static map<int,Process*> processes; public: - static Process* Process::getProcess(int pid); + static Process* getProcess(int pid); private: int pid; |