]> granicus.if.org Git - icu/commitdiff
ICU-9248 fix fastCopyFrom lifetime comment
authorAndy Heninger <andy.heninger@gmail.com>
Fri, 8 Jun 2012 17:58:13 +0000 (17:58 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Fri, 8 Jun 2012 17:58:13 +0000 (17:58 +0000)
X-SVN-Rev: 31923

icu4c/source/common/unicode/unistr.h

index 74b9fdea1eedff2a1a74edb5dacb4f74384c04a1..d8ec854145f6ab8697ded9f63e5b81d7145358e3 100644 (file)
@@ -1825,7 +1825,7 @@ public:
    * of making this string also a readonly alias to the same buffer.
    *
    * The fastCopyFrom function must be used only if it is known that the lifetime of
-   * this UnicodeString is at least as long as the lifetime of the aliased buffer
+   * this UnicodeString does not exceed the lifetime of the aliased buffer
    * including its contents, for example for strings from resource bundles
    * or aliases to string constants.
    *