X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=source%2Fcommon%2Funicode%2Fbytestream.h;h=15562271bfae6673bd4aaacaece0d0a7e7bbe4e6;hb=4125abc39e19d514b1b9199bcb36929ac7ce912e;hp=a31992e99e8d938e569fa64359875ba8b27756a0;hpb=febceca83f95a8bebf5c871640fd82af8c3721bb;p=platform%2Fupstream%2Ficu.git diff --git a/source/common/unicode/bytestream.h b/source/common/unicode/bytestream.h index a31992e..1556227 100644 --- a/source/common/unicode/bytestream.h +++ b/source/common/unicode/bytestream.h @@ -1,4 +1,4 @@ -// © 2016 and later: Unicode, Inc. and others. +// Copyright (C) 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html // Copyright (C) 2009-2012, International Business Machines // Corporation and others. All Rights Reserved. @@ -222,6 +222,8 @@ private: CheckedArrayByteSink &operator=(const CheckedArrayByteSink &); ///< assignment operator not implemented }; +#if U_HAVE_STD_STRING + /** * Implementation of ByteSink that writes to a "string". * The StringClass is usually instantiated with a std::string. @@ -250,6 +252,8 @@ class StringByteSink : public ByteSink { StringByteSink &operator=(const StringByteSink &); ///< assignment operator not implemented }; +#endif + U_NAMESPACE_END #endif // __BYTESTREAM_H__