diff options
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index 3eb6e2c43f3..185aadf23d5 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -1687,7 +1687,7 @@ Slice::Ruby::fixIdent(const string& ident, bool checkUpperCase) for(vector<string>::const_iterator i = ids.begin(); i != ids.end(); ++i) { string id = *i; - if(checkUpperCase) + if(checkUpperCase && id.size() != 0) { // TODO: Is this the correct way to capitalize Slice identifiers? if(id[0] >= 'a' && id[0] <= 'z') |