aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-14 20:11:04 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-14 20:19:33 +0300
commit1ade8b02939fb66b986a7689b1fdc89b8de9c21a (patch)
tree748d156e66c81dc993fc916914ab6c36b1c1ce32
parentcmake: GLOB source files (diff)
downloadwinapi-common-1ade8b02939fb66b986a7689b1fdc89b8de9c21a.tar.gz
winapi-common-1ade8b02939fb66b986a7689b1fdc89b8de9c21a.zip
cmd_line.hpp: work around VS 2013
-rw-r--r--include/winapi/cmd_line.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/winapi/cmd_line.hpp b/include/winapi/cmd_line.hpp
index f19d6b9..025b09a 100644
--- a/include/winapi/cmd_line.hpp
+++ b/include/winapi/cmd_line.hpp
@@ -168,10 +168,10 @@ private:
return safe;
}
- CommandLine(std::vector<std::string>&& args) : args{std::move(args)} {}
+ CommandLine(std::vector<std::string>&& args) : args(std::move(args)) {}
CommandLine(std::string&& argv0, std::vector<std::string>&& args = {})
- : argv0{std::move(argv0)}, args{std::move(args)} {}
+ : argv0(std::move(argv0)), args(std::move(args)) {}
const std::string argv0;
const std::vector<std::string> args;