summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/unicode/idna.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/unicode/idna.h')
-rw-r--r--deps/icu-small/source/common/unicode/idna.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/deps/icu-small/source/common/unicode/idna.h b/deps/icu-small/source/common/unicode/idna.h
index 90194a378f..23a1d7ca0e 100644
--- a/deps/icu-small/source/common/unicode/idna.h
+++ b/deps/icu-small/source/common/unicode/idna.h
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2010-2012, International Business Machines
@@ -198,7 +200,7 @@ public:
* @stable ICU 4.6
*/
virtual void
- labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
+ labelToASCII_UTF8(StringPiece label, ByteSink &dest,
IDNAInfo &info, UErrorCode &errorCode) const;
/**
@@ -216,7 +218,7 @@ public:
* @stable ICU 4.6
*/
virtual void
- labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
+ labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
IDNAInfo &info, UErrorCode &errorCode) const;
/**
@@ -234,7 +236,7 @@ public:
* @stable ICU 4.6
*/
virtual void
- nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
+ nameToASCII_UTF8(StringPiece name, ByteSink &dest,
IDNAInfo &info, UErrorCode &errorCode) const;
/**
@@ -252,7 +254,7 @@ public:
* @stable ICU 4.6
*/
virtual void
- nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
+ nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
IDNAInfo &info, UErrorCode &errorCode) const;
};