File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments