From: Daniil Burdakov Date: Wed, 21 May 2014 17:52:03 +0000 (+0000) Subject: added missing includes; also fixed lint issue with noexcept X-Git-Tag: v0.22.0~529 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=206c8f8f75176a53b195677ea374844b252db83b;p=folly.git added missing includes; also fixed lint issue with noexcept Summary: subj Test Plan: unit tests Reviewed By: tjackson@fb.com Subscribers: folly@lists FB internal diff: D1341693 --- diff --git a/folly/gen/Core-inl.h b/folly/gen/Core-inl.h index 973928a6..f0f6608b 100644 --- a/folly/gen/Core-inl.h +++ b/folly/gen/Core-inl.h @@ -18,6 +18,9 @@ #error This file may only be included from folly/gen/Core.h #endif +#include +#include + // Ignore shadowing warnings within this file, so includers can use -Wshadow. #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" @@ -90,9 +93,9 @@ class Operator : public FBounded { protected: Operator() = default; - Operator(Operator&&) = default; + Operator(Operator&&) noexcept = default; Operator(const Operator&) = default; - Operator& operator=(Operator&&) = default; + Operator& operator=(Operator&&) noexcept = default; Operator& operator=(const Operator&) = default; };