Commit 57c97f62 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

fix syntax for addwatch

parent 6593700f
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
class cmVariableWatch class cmVariableWatch
{ {
public: public:
typedef void (WatchMethod)(const std::string& variable, int access_type, void* client_data); typedef void (*WatchMethod)(const std::string& variable, int access_type, void* client_data);
cmVariableWatch(); cmVariableWatch();
~cmVariableWatch(); ~cmVariableWatch();
...@@ -57,7 +57,7 @@ public: ...@@ -57,7 +57,7 @@ public:
protected: protected:
struct Pair struct Pair
{ {
WatchMethod* m_Method; WatchMethod m_Method;
void* m_ClientData; void* m_ClientData;
Pair() : m_Method(0), m_ClientData(0) {} Pair() : m_Method(0), m_ClientData(0) {}
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment