diff options
Diffstat (limited to 'Source/cmVisualStudioWCEPlatformParser.h')
-rw-r--r-- | Source/cmVisualStudioWCEPlatformParser.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmVisualStudioWCEPlatformParser.h b/Source/cmVisualStudioWCEPlatformParser.h index 2fff91c..895a90d 100644 --- a/Source/cmVisualStudioWCEPlatformParser.h +++ b/Source/cmVisualStudioWCEPlatformParser.h @@ -16,9 +16,8 @@ class cmVisualStudioWCEPlatformParser : public cmXMLParser { public: - cmVisualStudioWCEPlatformParser(const char* name = NULL) + cmVisualStudioWCEPlatformParser(const char* name = nullptr) : RequiredName(name) - , FoundRequiredName(false) { } @@ -42,9 +41,9 @@ public: } protected: - virtual void StartElement(const std::string& name, const char** attributes); - void EndElement(const std::string& name); - void CharacterDataHandler(const char* data, int length); + void StartElement(const std::string& name, const char** attributes) override; + void EndElement(const std::string& name) override; + void CharacterDataHandler(const char* data, int length) override; private: std::string FixPaths(const std::string& paths) const; @@ -61,7 +60,7 @@ private: std::vector<std::string> AvailablePlatforms; const char* RequiredName; - bool FoundRequiredName; + bool FoundRequiredName = false; std::string VcInstallDir; std::string VsInstallDir; }; |