diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-03-19 17:18:01 +0100 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2020-03-19 17:18:01 +0100 |
commit | 857f8d9231d148d4f2def9c83548b40059923029 (patch) | |
tree | 5a84026aa3861e311374e607104a5a2348bbfeeb /src/common/Encoding/BaseEncoding.h | |
parent | ac9004a2f9fa7af7c7735168e7bc5c08d6cacca7 (diff) |
Core/Misc: C++17 cleanups, commit 2, the advstd commit
Diffstat (limited to 'src/common/Encoding/BaseEncoding.h')
-rw-r--r-- | src/common/Encoding/BaseEncoding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Encoding/BaseEncoding.h b/src/common/Encoding/BaseEncoding.h index f1136919da6..ef484015936 100644 --- a/src/common/Encoding/BaseEncoding.h +++ b/src/common/Encoding/BaseEncoding.h @@ -32,7 +32,7 @@ template <typename Encoding> struct GenericBaseEncoding { static constexpr std::size_t BITS_PER_CHAR = Encoding::BITS_PER_CHAR; - static constexpr std::size_t PAD_TO = advstd::lcm(8u, BITS_PER_CHAR); + static constexpr std::size_t PAD_TO = std::lcm(8u, BITS_PER_CHAR); static_assert(BITS_PER_CHAR < 8, "Encoding parameters are invalid"); |