diff options
Diffstat (limited to 'loader/texture.cpp')
-rw-r--r-- | loader/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/texture.cpp b/loader/texture.cpp index 59e8f25a..a68a6337 100644 --- a/loader/texture.cpp +++ b/loader/texture.cpp @@ -18,7 +18,7 @@ Trade::ImageData2D loader_impl::texture(StringView prefix, StringView filename_) constexpr size_t max_extension_length = 16; const auto N = prefix.size(); - if (N > 0) + if (N > 0) [[likely]] fm_assert(prefix[N-1] == '/'); fm_soft_assert(filename_.size() + prefix.size() + max_extension_length + 1 < FILENAME_MAX); fm_soft_assert(check_atlas_name(filename_)); |