diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-02-14 01:01:19 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-02-14 01:01:19 -0800 |
commit | 278792eae71f7d403031ab1c3425b5a1076ca13f (patch) | |
tree | 1b18a6746d982bce9c7e238bc3d00784eb5e6806 /common/aloptional.h | |
parent | 9e418202fd40896e3292b834423fcd20509e2739 (diff) |
Remove an unnecessary template parameter hack
Diffstat (limited to 'common/aloptional.h')
-rw-r--r-- | common/aloptional.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/aloptional.h b/common/aloptional.h index a1229413..a5bc247f 100644 --- a/common/aloptional.h +++ b/common/aloptional.h @@ -240,7 +240,7 @@ struct optional_storage<T, false, false, false, false> : public optstore_helper< } // namespace detail_ -#define REQUIRES(...) bool rt_=true, std::enable_if_t<rt_ && (__VA_ARGS__),bool> = true +#define REQUIRES(...) std::enable_if_t<(__VA_ARGS__),bool> = true template<typename T> class optional { |