diff options
author | Michael Lehenbauer <mikelehen@gmail.com> | 2018-01-10 09:28:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 09:28:44 -0800 |
commit | dc0b29e9cf7febe201a3845782655ec80d9e19f4 (patch) | |
tree | 915ff0260b366e0613f44453a56576586c05fab1 /Firestore/core/src/firebase/firestore/util/string_apple.h | |
parent | d6bf54e2872801bc915ffd695bf2aa3051ae22ab (diff) |
Run style.sh (#636)
Run style.sh (w/ clang-format version 6)
Diffstat (limited to 'Firestore/core/src/firebase/firestore/util/string_apple.h')
-rw-r--r-- | Firestore/core/src/firebase/firestore/util/string_apple.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Firestore/core/src/firebase/firestore/util/string_apple.h b/Firestore/core/src/firebase/firestore/util/string_apple.h index 42b51dd..e1be8c3 100644 --- a/Firestore/core/src/firebase/firestore/util/string_apple.h +++ b/Firestore/core/src/firebase/firestore/util/string_apple.h @@ -25,13 +25,13 @@ namespace util { // Translates a C string to the equivalent NSString without making a copy. inline NSString* WrapNSStringNoCopy(const char* c_str) { - return [[NSString alloc] initWithBytesNoCopy:const_cast<void*>(static_cast<const void*>(c_str)) - length:strlen(c_str) - encoding:NSUTF8StringEncoding - freeWhenDone:NO]; + return [[NSString alloc] + initWithBytesNoCopy:const_cast<void*>(static_cast<const void*>(c_str)) + length:strlen(c_str) + encoding:NSUTF8StringEncoding + freeWhenDone:NO]; } - } // namespace util } // namespace firestore } // namespace firebase |