Skip to content

Commit c50c854

Browse files
authored
Update tests/test_stl.cpp
1 parent cab4955 commit c50c854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_stl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ class ReferenceSensitiveOptional {
119119
public:
120120
using value_type = T;
121121

122-
ReferenceSensitiveOptional() = default;
122+
// NOLINTNEXTLINE(modernize-use-equals-default): breaks GCC 4.8
123+
ReferenceSensitiveOptional() {};
123124
// NOLINTNEXTLINE(google-explicit-constructor)
124125
ReferenceSensitiveOptional(const T& value) : storage{value} {}
125126
// NOLINTNEXTLINE(google-explicit-constructor)

0 commit comments

Comments
 (0)