Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: source/common/uvectr64.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/utypes.c ('k') | source/common/wintz.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/uvectr64.h
diff --git a/source/common/uvectr64.h b/source/common/uvectr64.h
index 05cbc35ec3ea112c08c249a79a4633f5a63b0014..0692821e5685ebf30389619ecb4e5a499dca0447 100644
--- a/source/common/uvectr64.h
+++ b/source/common/uvectr64.h
@@ -1,6 +1,6 @@
/*
**********************************************************************
-* Copyright (C) 1999-2010, International Business Machines
+* Copyright (C) 1999-2014, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
@@ -122,7 +122,7 @@ public:
int32_t size(void) const;
- //UBool isEmpty(void) const;
+ inline UBool isEmpty(void) const { return count == 0; }
// Inline. Use this one for speedy size check.
inline UBool ensureCapacity(int32_t minimumCapacity, UErrorCode &status);
« no previous file with comments | « source/common/utypes.c ('k') | source/common/wintz.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698