File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Firestore/core/src/firebase/firestore/model Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -466,8 +466,7 @@ void FieldValue::SwitchTo(const Type type) {
466
466
case Type::Object:
467
467
object_value_.internal_value .~map ();
468
468
break ;
469
- default : {
470
- } // The other types where there is nothing to worry about.
469
+ default : {} // The other types where there is nothing to worry about.
471
470
}
472
471
tag_ = type;
473
472
// Must call constructor explicitly for any non-POD type to initialize.
@@ -498,8 +497,7 @@ void FieldValue::SwitchTo(const Type type) {
498
497
case Type::Object:
499
498
new (&object_value_) ObjectValue{};
500
499
break ;
501
- default : {
502
- } // The other types where there is nothing to worry about.
500
+ default : {} // The other types where there is nothing to worry about.
503
501
}
504
502
}
505
503
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Travis will verify that any code changes are done in a style compliant way. Inst
90
90
` clang-format ` and ` swiftformat ` .
91
91
This command will get the right ` clang-format ` version:
92
92
93
- ` brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c435aae81df87d826eed0158ffdbfa872a7cb1b7 /Formula/clang-format.rb `
93
+ ` brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/773cb75d360b58f32048f5964038d09825a507c8 /Formula/clang-format.rb `
94
94
95
95
### Running Unit Tests
96
96
Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ case "$version" in
49
49
;;
50
50
* )
51
51
echo " Please upgrade to clang-format version 8."
52
- echo " If it's installed via homebrew you can run: brew upgrade clang-format"
52
+ echo " If it's installed via homebrew you can run:"
53
+ echo " brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/773cb75d360b58f32048f5964038d09825a507c8/Formula/clang-format.rb"
53
54
exit 1
54
55
;;
55
56
esac
You can’t perform that action at this time.
0 commit comments