diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 90d9ff2..5a2b1a4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # Codeowners for reviews on PRs -* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey +* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey + diff --git a/include/beman/exemplar/identity.hpp b/include/beman/exemplar/identity.hpp index 9463125..ecb3943 100644 --- a/include/beman/exemplar/identity.hpp +++ b/include/beman/exemplar/identity.hpp @@ -30,7 +30,15 @@ struct __is_transparent; // not defined struct identity { // Returns `t`. template - constexpr T&& operator()(T&& t) const noexcept { +#if defined(__cpp_constexpr) + constexpr +#endif + T&& + operator()(T&& t) const noexcept { + int + size + = + 0; return std::forward(t); }