summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fxcrt/bytestring.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/fxcrt/bytestring.h b/core/fxcrt/bytestring.h
index bd414fc76f..6b167802d5 100644
--- a/core/fxcrt/bytestring.h
+++ b/core/fxcrt/bytestring.h
@@ -32,10 +32,11 @@ class ByteString {
using const_iterator = const CharType*;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
- static ByteString FormatInteger(int i);
- static ByteString FormatFloat(float f);
- static ByteString Format(const char* lpszFormat, ...);
- static ByteString FormatV(const char* lpszFormat, va_list argList);
+ static ByteString FormatInteger(int i) WARN_UNUSED_RESULT;
+ static ByteString FormatFloat(float f) WARN_UNUSED_RESULT;
+ static ByteString Format(const char* lpszFormat, ...) WARN_UNUSED_RESULT;
+ static ByteString FormatV(const char* lpszFormat,
+ va_list argList) WARN_UNUSED_RESULT;
ByteString();
ByteString(const ByteString& other);