diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-14 20:11:04 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-14 20:19:33 +0300 |
commit | 1ade8b02939fb66b986a7689b1fdc89b8de9c21a (patch) | |
tree | 748d156e66c81dc993fc916914ab6c36b1c1ce32 /include/winapi | |
parent | cmake: GLOB source files (diff) | |
download | winapi-common-1ade8b02939fb66b986a7689b1fdc89b8de9c21a.tar.gz winapi-common-1ade8b02939fb66b986a7689b1fdc89b8de9c21a.zip |
cmd_line.hpp: work around VS 2013
Diffstat (limited to 'include/winapi')
-rw-r--r-- | include/winapi/cmd_line.hpp | 4 |
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; |