Skip to content

Commit a1c75a4

Browse files
committed
#12300
1 parent 3008060 commit a1c75a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/include/sndx/render/atlas.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace sndx::render {
123123
using DefaultPacker = sndx::math::BinPacker<true, size_t>;
124124

125125
void add(const IdT& id, const ImageData& img) {
126-
m_entries.emplace_back(id, img);
126+
m_entries.push_back(id, img);
127127
}
128128

129129
void reserve(size_t size) noexcept {

src/include/sndx/utility/stringmanip.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace sndx::utility {
2424
auto first = str.find_first_not_of(strips);
2525
auto last = str.find_last_not_of(strips);
2626

27-
if (first == sv<char>::npos) [[unlikely]] {
27+
if (first == sv<Chr>::npos) [[unlikely]] {
2828
return str.substr(0, 0);
2929
}
3030

@@ -175,7 +175,7 @@ namespace sndx::utility {
175175

176176
[[nodiscard]]
177177
inline auto parseEscaped(const char* str) noexcept {
178-
return parseEscaped(sv{str});
178+
return parseEscaped(sv<char>{str});
179179
}
180180

181181
using Codepoint = uint32_t;

0 commit comments

Comments
 (0)