} else if (t.hasException()) {
contains_ = Contains::EXCEPTION;
new (&e_) std::unique_ptr<exception_wrapper>(
- folly::make_unique<exception_wrapper>(t.exception()));
+ std::make_unique<exception_wrapper>(t.exception()));
}
}
new (&value_)T(t.value_);
} else if (contains_ == Contains::EXCEPTION) {
new (&e_)std::unique_ptr<exception_wrapper>();
- e_ = folly::make_unique<exception_wrapper>(*(t.e_));
+ e_ = std::make_unique<exception_wrapper>(*(t.e_));
}
}
new (&value_)T(t.value_);
} else if (contains_ == Contains::EXCEPTION) {
new (&e_)std::unique_ptr<exception_wrapper>();
- e_ = folly::make_unique<exception_wrapper>(*(t.e_));
+ e_ = std::make_unique<exception_wrapper>(*(t.e_));
}
return *this;
}