summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatch.h
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-10-05 22:23:17 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-17 13:38:31 (GMT)
commit4bedf6c9fa3f55a19b09d5ab26cfd149ee2e13e6 (patch)
tree5be36c0e2983150ee31b03f30e4652f91ba7bc6c /Source/cmVariableWatch.h
parent4c29297495b53e07f61a6de1f5f689ddd6bab7bd (diff)
downloadCMake-4bedf6c9fa3f55a19b09d5ab26cfd149ee2e13e6.zip
CMake-4bedf6c9fa3f55a19b09d5ab26cfd149ee2e13e6.tar.gz
CMake-4bedf6c9fa3f55a19b09d5ab26cfd149ee2e13e6.tar.bz2
Refactor: Modernize `cmVariableWatchCommand` a little
Diffstat (limited to 'Source/cmVariableWatch.h')
-rw-r--r--Source/cmVariableWatch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVariableWatch.h b/Source/cmVariableWatch.h
index e4b3b7c..6c418ed 100644
--- a/Source/cmVariableWatch.h
+++ b/Source/cmVariableWatch.h
@@ -46,7 +46,7 @@ public:
*/
enum
{
- VARIABLE_READ_ACCESS = 0,
+ VARIABLE_READ_ACCESS,
UNKNOWN_VARIABLE_READ_ACCESS,
UNKNOWN_VARIABLE_DEFINED_ACCESS,
VARIABLE_MODIFIED_ACCESS,
@@ -57,7 +57,7 @@ public:
/**
* Return the access as string
*/
- static const char* GetAccessAsString(int access_type);
+ static const std::string& GetAccessAsString(int access_type);
protected:
struct Pair