diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
commit | b9203ee84953006547f4afd58f405874c87bf0dc (patch) | |
tree | 9e41f1533f120e9268e86658c52458630ffd718a /shared/zstring.h | |
parent | 3.0 (diff) | |
download | FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2 FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip |
3.1
Diffstat (limited to 'shared/zstring.h')
-rw-r--r-- | shared/zstring.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/zstring.h b/shared/zstring.h index 9c7c2245..68b72060 100644 --- a/shared/zstring.h +++ b/shared/zstring.h @@ -107,7 +107,11 @@ public: static const size_t npos = static_cast<size_t>(-1); private: - Zstring(int); //indicates usage error + //detect usage errors + Zstring(int); + friend const Zstring operator+(const DefaultChar* lhs, const Zstring& rhs); + friend const Zstring operator+(const DefaultChar ch, const Zstring& rhs); + DefaultChar* data(); void initAndCopy(const DefaultChar* source, size_t length); |