summaryrefslogtreecommitdiff
path: root/chromium/tools/gn/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/tools/gn/pool.h')
-rw-r--r--chromium/tools/gn/pool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/tools/gn/pool.h b/chromium/tools/gn/pool.h
index 81a021db659..42a80789ec8 100644
--- a/chromium/tools/gn/pool.h
+++ b/chromium/tools/gn/pool.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/macros.h"
#include "tools/gn/item.h"
// Represents a named pool in the dependency graph.
@@ -18,9 +19,6 @@ class Pool : public Item {
using Item::Item;
~Pool() override;
- Pool(const Pool&) = delete;
- Pool& operator=(const Pool&) = delete;
-
// Item implementation.
Pool* AsPool() override;
const Pool* AsPool() const override;
@@ -36,6 +34,8 @@ class Pool : public Item {
std::string GetNinjaName(bool include_toolchain) const;
int64_t depth_ = 0;
+
+ DISALLOW_COPY_AND_ASSIGN(Pool);
};
#endif // TOOLS_GN_POOL_H_