summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-10 14:25:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-10 14:27:44 (GMT)
commit05d5c66ff853f88e6dbe43bbddd18dd8babaa427 (patch)
tree6829b32cba01c3e20b55ba95b964bc9cc3fb59ff /Source/cmServerProtocol.cxx
parent1c2c541b0c2e1224c00cf4648f4b7ba7f1d19ec3 (diff)
parentd63c1e4e6e8507cb1c8425d521cf61fa4adbf4a8 (diff)
downloadCMake-05d5c66ff853f88e6dbe43bbddd18dd8babaa427.zip
CMake-05d5c66ff853f88e6dbe43bbddd18dd8babaa427.tar.gz
CMake-05d5c66ff853f88e6dbe43bbddd18dd8babaa427.tar.bz2
Merge topic 'tidy-return-brace'
d63c1e4e6e clang-tidy: modernize-return-braced-init-list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3790
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r--Source/cmServerProtocol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index 670161d..d576f36 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -167,7 +167,7 @@ bool cmServerProtocol::DoActivate(const cmServerRequest& /*request*/,
std::pair<int, int> cmServerProtocol1::ProtocolVersion() const
{
- return std::make_pair(1, 2);
+ return { 1, 2 };
}
static void setErrorMessage(std::string* errorMessage, const std::string& text)