Commit 206c8f8f authored by Daniil Burdakov's avatar Daniil Burdakov Committed by Anton Likhtarov

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
parent edf578d8
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
#error This file may only be included from folly/gen/Core.h #error This file may only be included from folly/gen/Core.h
#endif #endif
#include <type_traits>
#include <utility>
// Ignore shadowing warnings within this file, so includers can use -Wshadow. // Ignore shadowing warnings within this file, so includers can use -Wshadow.
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wshadow"
...@@ -90,9 +93,9 @@ class Operator : public FBounded<Self> { ...@@ -90,9 +93,9 @@ class Operator : public FBounded<Self> {
protected: protected:
Operator() = default; Operator() = default;
Operator(Operator&&) = default; Operator(Operator&&) noexcept = default;
Operator(const Operator&) = default; Operator(const Operator&) = default;
Operator& operator=(Operator&&) = default; Operator& operator=(Operator&&) noexcept = default;
Operator& operator=(const Operator&) = default; Operator& operator=(const Operator&) = default;
}; };
......
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