ICU-13835 Fixing C++17 compiler error.

X-SVN-Rev: 41523
This commit is contained in:
Shane Carr 2018-06-14 20:29:11 +00:00
parent 1af5762873
commit ba800ab7bd

View file

@ -420,7 +420,7 @@ UnicodeString skeleton::generate(const MacroProps& macros, UErrorCode& status) {
}
MacroProps skeleton::parseSkeleton(const UnicodeString& skeletonString, UErrorCode& status) {
if (U_FAILURE(status)) { return {}; }
if (U_FAILURE(status)) { return MacroProps(); }
// Add a trailing whitespace to the end of the skeleton string to make code cleaner.
UnicodeString tempSkeletonString(skeletonString);