diff options
author | Chris Robinson <[email protected]> | 2022-02-23 01:29:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-23 01:29:28 -0800 |
commit | cadf0d1de5ca5a845b0e6fdb3aaaff7c8c741f9e (patch) | |
tree | 1c621fdecb8ea86033229e19f85d1a786dada4d4 /al/eax_exception.cpp | |
parent | 7176247529e5e115fb1cd72b56145cb13ba947c6 (diff) |
Make some local constexpr variables static
Diffstat (limited to 'al/eax_exception.cpp')
-rw-r--r-- | al/eax_exception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/eax_exception.cpp b/al/eax_exception.cpp index c8ecf79d..fdeecaaa 100644 --- a/al/eax_exception.cpp +++ b/al/eax_exception.cpp @@ -30,10 +30,10 @@ std::string EaxException::make_message( return std::string{}; } - constexpr auto left_prefix = "["; + static constexpr char left_prefix[] = "["; const auto left_prefix_size = std::string::traits_type::length(left_prefix); - constexpr auto right_prefix = "] "; + static constexpr char right_prefix[] = "] "; const auto right_prefix_size = std::string::traits_type::length(right_prefix); const auto what_size = |