diff options
author | Patrick Gansterer <paroga@paroga.com> | 2013-08-05 19:16:54 (GMT) |
---|---|---|
committer | Patrick Gansterer <paroga@paroga.com> | 2013-08-05 19:23:50 (GMT) |
commit | 5e0252ce68d9752284450ac805138afa0792c799 (patch) | |
tree | 86bc97d206eb091d086727519051db67b1bd2abf /Source/cmVisualStudioGeneratorOptions.h | |
parent | 1768014dfc8aee30430d57c8f984aad0abb15094 (diff) | |
download | CMake-5e0252ce68d9752284450ac805138afa0792c799.zip CMake-5e0252ce68d9752284450ac805138afa0792c799.tar.gz CMake-5e0252ce68d9752284450ac805138afa0792c799.tar.bz2 |
Improve const-correctness in cmVisualStudioGeneratorOptions
Add const qualifier to IsDebug(), UsingSBCS() and UsingUnicode().
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h index a1a55da..90f7667 100644 --- a/Source/cmVisualStudioGeneratorOptions.h +++ b/Source/cmVisualStudioGeneratorOptions.h @@ -47,10 +47,10 @@ public: void SetVerboseMakefile(bool verbose); // Check for specific options. - bool UsingUnicode(); - bool UsingSBCS(); + bool UsingUnicode() const; + bool UsingSBCS() const; - bool IsDebug(); + bool IsDebug() const; // Write options to output. void OutputPreprocessorDefinitions(std::ostream& fout, const char* prefix, |