Skip to content

Commit

Permalink
Fixed warnings and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
WillisMedwell committed Feb 5, 2024
1 parent fcc4ec6 commit a4fff13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/Utily/Simd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace Utily::Simd128 {
}

template <size_t ValSize>
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");
}
Expand Down
3 changes: 2 additions & 1 deletion include/Utily/TypeErasedVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ namespace Utily {
#else
void* new_data = std::realloc(
_data,
_type_size * (static_cast<size_t>(_data_capacity) * 2);
_type_size * (static_cast<size_t>(_data_capacity) * 2)
);
#endif
if (new_data != nullptr) {
_data = new_data;
Expand Down

0 comments on commit a4fff13

Please sign in to comment.