Commit 8daf15ad authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Use brace-initialization for folly::none

Summary:
[Folly] Use brace-initialization for `folly::none`.

Will help with future work.

Reviewed By: shixiao

Differential Revision: D9039671

fbshipit-source-id: fc34041bc040332540ed3e9dfd7ab452e82ca47f
parent 9af8f2be
......@@ -79,7 +79,7 @@ struct OptionalPromiseReturn;
typedef int detail::NoneHelper::*None;
const None none = nullptr;
const None none = {};
class FOLLY_EXPORT OptionalEmptyException : public std::runtime_error {
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment