From 1ade8b02939fb66b986a7689b1fdc89b8de9c21a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 14 Oct 2020 20:11:04 +0300 Subject: cmd_line.hpp: work around VS 2013 --- include/winapi/cmd_line.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/winapi') 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&& args) : args{std::move(args)} {} + CommandLine(std::vector&& args) : args(std::move(args)) {} CommandLine(std::string&& argv0, std::vector&& args = {}) - : argv0{std::move(argv0)}, args{std::move(args)} {} + : argv0(std::move(argv0)), args(std::move(args)) {} const std::string argv0; const std::vector args; -- cgit v1.2.3