diff options
Diffstat (limited to 'absl/flags/internal/flag.h')
-rw-r--r-- | absl/flags/internal/flag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/flags/internal/flag.h b/absl/flags/internal/flag.h index 344e31f65073..0ef0ee745641 100644 --- a/absl/flags/internal/flag.h +++ b/absl/flags/internal/flag.h @@ -647,7 +647,7 @@ T* MakeFromDefaultValue(T t) { template <typename T> T* MakeFromDefaultValue(EmptyBraces) { - return new T; + return new T{}; } } // namespace flags_internal |