summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitHandler.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-22 23:32:51 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-25 11:45:00 (GMT)
commit094f01d0f019147afbdfc1c18ad1a6ca232eb3b8 (patch)
treec21fa56b9092c742d7dc371d523b5a80b2330f03 /Source/CTest/cmCTestSubmitHandler.cxx
parent55671b41d2d182ce8d3201012ec55badd7116615 (diff)
downloadCMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.zip
CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.gz
CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.bz2
cleanup: Prefer compiler provided special member functions
Diffstat (limited to 'Source/CTest/cmCTestSubmitHandler.cxx')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index 9e1f409..87112da 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -30,10 +30,6 @@ typedef std::vector<char> cmCTestSubmitHandlerVectorOfChar;
class cmCTestSubmitHandler::ResponseParser : public cmXMLParser
{
public:
- ResponseParser() { this->Status = STATUS_OK; }
- ~ResponseParser() override = default;
-
-public:
enum StatusType
{
STATUS_OK,
@@ -41,7 +37,7 @@ public:
STATUS_ERROR
};
- StatusType Status;
+ StatusType Status = STATUS_OK;
std::string Filename;
std::string MD5;
std::string Message;