summaryrefslogtreecommitdiff
path: root/core/fxcrt/bytestring.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/bytestring.h')
-rw-r--r--core/fxcrt/bytestring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/bytestring.h b/core/fxcrt/bytestring.h
index 6b167802d5..916820656d 100644
--- a/core/fxcrt/bytestring.h
+++ b/core/fxcrt/bytestring.h
@@ -64,7 +64,7 @@ class ByteString {
void clear() { m_pData.Reset(); }
- static ByteString FromUnicode(const WideString& str);
+ static ByteString FromUnicode(const WideString& str) WARN_UNUSED_RESULT;
// Explicit conversion to C-style string.
// Note: Any subsequent modification of |this| will invalidate the result.