aboutsummaryrefslogtreecommitdiffhomepage
path: root/absl/types/internal/optional.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/types/internal/optional.h')
-rw-r--r--absl/types/internal/optional.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/types/internal/optional.h b/absl/types/internal/optional.h
index 8acbda2..d41ccc7 100644
--- a/absl/types/internal/optional.h
+++ b/absl/types/internal/optional.h
@@ -84,8 +84,8 @@ class optional_data_dtor_base {
bool engaged_;
// Data storage
union {
- dummy_type dummy_;
T data_;
+ dummy_type dummy_;
};
void destruct() noexcept {
@@ -119,8 +119,8 @@ class optional_data_dtor_base<T, true> {
bool engaged_;
// Data storage
union {
- dummy_type dummy_;
T data_;
+ dummy_type dummy_;
};
void destruct() noexcept { engaged_ = false; }