projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make Optional nothrow_default_constructible
[folly.git]
/
folly
/
Optional.h
diff --git
a/folly/Optional.h
b/folly/Optional.h
index def3670f00ab69946c0fce6eb12441eebd4466dd..84f5d4439ea1300efda80d342ff5b35009dade31 100644
(file)
--- a/
folly/Optional.h
+++ b/
folly/Optional.h
@@
-96,7
+96,7
@@
class Optional {
static_assert(!std::is_abstract<Value>::value,
"Optional may not be used with abstract types");
- Optional()
+ Optional()
noexcept
: hasValue_(false) {
}