diff options
Diffstat (limited to 'src/ctor.h')
| -rw-r--r-- | src/ctor.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -62,6 +62,7 @@ enum class toolchain none, gcc, clang, + msvc, }; struct output_file @@ -85,7 +86,7 @@ struct source std::is_same_v<Args, ctor::source_type> || std::is_same_v<Args, ctor::output_file> ) && ...) - constexpr source(Args && ... arg) + constexpr source(Args ... arg) { ([&] { @@ -205,7 +206,7 @@ public: std::is_same_v<Args, ctor::toolchain> || std::is_same_v<Args, T> ) && ...) - constexpr flag(Args && ... _arg) + constexpr flag(Args ... _arg) { constexpr std::size_t n = sizeof...(Args); int state{}; // 0: opt, 1: arg1, 2: arg2, 3: error |
