aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/String.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-08 01:46:00 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-08 21:34:37 +0800
commit593b658eb1491d4b3103971aba6592aff2765f0e (patch)
tree526bc88c6a895c215015926c90ff38c106a94604 /include/cru/base/String.h
parentdf550874cd546a85074edc35bebeb3cd0530622b (diff)
downloadcru-593b658eb1491d4b3103971aba6592aff2765f0e.tar.gz
cru-593b658eb1491d4b3103971aba6592aff2765f0e.tar.bz2
cru-593b658eb1491d4b3103971aba6592aff2765f0e.zip
Fix some compile errors on Windows.
Diffstat (limited to 'include/cru/base/String.h')
-rw-r--r--include/cru/base/String.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/base/String.h b/include/cru/base/String.h
index 21a3db51..e58f21d3 100644
--- a/include/cru/base/String.h
+++ b/include/cru/base/String.h
@@ -257,8 +257,8 @@ class CRU_BASE_API String {
Index size_ = 0; // not including trailing '\0'
Index capacity_ = 0; // always 1 smaller than real buffer size
};
-
-std::ostream& CRU_BASE_API operator<<(std::ostream& os, const String& value);
+CRU_BASE_API
+std::ostream& operator<<(std::ostream& os, const String& value);
class CRU_BASE_API StringView {
public: