diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-09 14:16:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-09 14:16:25 (GMT) |
commit | 57c97f62f69c23b610676f9ca0f2d5b91de71533 (patch) | |
tree | 732684c0669d9e37371bc3ba26185f0e8cc4ea22 /Source/cmVariableWatch.h | |
parent | 6593700f09d0b3260148c1778af3bba30b2403ad (diff) | |
download | CMake-57c97f62f69c23b610676f9ca0f2d5b91de71533.zip CMake-57c97f62f69c23b610676f9ca0f2d5b91de71533.tar.gz CMake-57c97f62f69c23b610676f9ca0f2d5b91de71533.tar.bz2 |
fix syntax for addwatch
Diffstat (limited to 'Source/cmVariableWatch.h')
-rw-r--r-- | Source/cmVariableWatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVariableWatch.h b/Source/cmVariableWatch.h index 88fdd54..d083e52 100644 --- a/Source/cmVariableWatch.h +++ b/Source/cmVariableWatch.h @@ -27,7 +27,7 @@ class cmVariableWatch { 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(); @@ -57,7 +57,7 @@ public: protected: struct Pair { - WatchMethod* m_Method; + WatchMethod m_Method; void* m_ClientData; Pair() : m_Method(0), m_ClientData(0) {} }; |