From 206c8f8f75176a53b195677ea374844b252db83b Mon Sep 17 00:00:00 2001 From: Daniil Burdakov Date: Wed, 21 May 2014 17:52:03 +0000 Subject: [PATCH] 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 --- folly/gen/Core-inl.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }; -- 2.34.1