@@ -80,7 +80,7 @@ class FormatArg : public absl::AlphaNum {
80
80
template <typename T,
81
81
typename = typename std::enable_if<std::is_same<bool , T>{}>::type>
82
82
FormatArg (T bool_value, internal::FormatChoice<0 >)
83
- : AlphaNum{ bool_value ? " true" : " false" } {
83
+ : AlphaNum( bool_value ? " true" : " false" ) {
84
84
}
85
85
86
86
#if __OBJC__
@@ -91,15 +91,15 @@ class FormatArg : public absl::AlphaNum {
91
91
typename T,
92
92
typename = typename std::enable_if<objc::is_objc_pointer<T>{}>::type>
93
93
FormatArg (T object, internal::FormatChoice<1 >)
94
- : AlphaNum{ MakeStringView ([object description])} {
94
+ : AlphaNum( MakeStringView([object description])) {
95
95
}
96
96
97
97
/* *
98
98
* Creates a FormatArg from any Objective-C Class type. Objective-C Class
99
99
* types are a special struct that aren't of a type derived from NSObject.
100
100
*/
101
101
FormatArg (Class object, internal::FormatChoice<1 >)
102
- : AlphaNum{ MakeStringView (NSStringFromClass(object))} {
102
+ : AlphaNum( MakeStringView(NSStringFromClass(object))) {
103
103
}
104
104
#endif
105
105
@@ -108,7 +108,7 @@ class FormatArg : public absl::AlphaNum {
108
108
* handled specially to avoid ambiguity with generic pointers, which are
109
109
* handled differently.
110
110
*/
111
- FormatArg (std::nullptr_t , internal::FormatChoice<2 >) : AlphaNum{ " null" } {
111
+ FormatArg (std::nullptr_t , internal::FormatChoice<2 >) : AlphaNum( " null" ) {
112
112
}
113
113
114
114
/* *
@@ -117,7 +117,7 @@ class FormatArg : public absl::AlphaNum {
117
117
* handled differently.
118
118
*/
119
119
FormatArg (const char * string_value, internal::FormatChoice<3 >)
120
- : AlphaNum{ string_value == nullptr ? " null" : string_value} {
120
+ : AlphaNum( string_value == nullptr ? " null" : string_value) {
121
121
}
122
122
123
123
/* *
@@ -126,7 +126,7 @@ class FormatArg : public absl::AlphaNum {
126
126
*/
127
127
template <typename T>
128
128
FormatArg (T* pointer_value, internal::FormatChoice<4 >)
129
- : AlphaNum{ absl::Hex{ reinterpret_cast <uintptr_t >(pointer_value)}} {
129
+ : AlphaNum( absl::Hex( reinterpret_cast <uintptr_t >(pointer_value))) {
130
130
}
131
131
132
132
/* *
@@ -135,7 +135,7 @@ class FormatArg : public absl::AlphaNum {
135
135
*/
136
136
template <typename T>
137
137
FormatArg (T&& value, internal::FormatChoice<5 >)
138
- : AlphaNum{ std::forward<T>(value)} {
138
+ : AlphaNum( std::forward<T>(value)) {
139
139
}
140
140
};
141
141
0 commit comments