diff --git a/include/Utily/Simd.hpp b/include/Utily/Simd.hpp index 9d4c83f..c9a30e8 100644 --- a/include/Utily/Simd.hpp +++ b/include/Utily/Simd.hpp @@ -140,7 +140,7 @@ namespace Utily::Simd128 { } template - UTY_ALWAYS_INLINE auto search(const char* src_begin, const size_t src_size, const char* val_begin) noexcept -> std::ptrdiff_t { + UTY_ALWAYS_INLINE auto search(const char* src_begin [[maybe_unused]], const size_t src_size [[maybe_unused]], const char* val_begin [[maybe_unused]]) noexcept -> std::ptrdiff_t { // static_assert(false, "Not implemented"); assert(false && "Not implemeted"); } diff --git a/include/Utily/TypeErasedVector.hpp b/include/Utily/TypeErasedVector.hpp index 1324417..77071e3 100644 --- a/include/Utily/TypeErasedVector.hpp +++ b/include/Utily/TypeErasedVector.hpp @@ -46,7 +46,8 @@ namespace Utily { #else void* new_data = std::realloc( _data, - _type_size * (static_cast(_data_capacity) * 2); + _type_size * (static_cast(_data_capacity) * 2) + ); #endif if (new_data != nullptr) { _data = new_data;