Skip to content

Commit

Permalink
Bring back commit prusa3d#3769
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Apr 29, 2024
1 parent 2425c11 commit c6b0a9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/str_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <cstdint>
#include <algorithm>
#include <assert.h>
#include "../lang/string_view_utf8.hpp"

inline constexpr char CHAR_SPACE = ' ';
inline constexpr char CHAR_NBSP = '\xA0'; /// Non Breaking Space
Expand Down Expand Up @@ -384,6 +385,8 @@ class StringBuilder {

void append_string(const char *str);

void append_string_view(string_view_utf8 str);

/// Appends text to the builder, using vsnprintf under the hood.
void __attribute__((format(__printf__, 2, 3)))
append_printf(const char *fmt, ...);
Expand Down

0 comments on commit c6b0a9e

Please sign in to comment.