Flutter Engine
The Flutter Engine
macros.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef ACCESSIBILITY_BASE_MACROS_H_
6#define ACCESSIBILITY_BASE_MACROS_H_
7
8#define BASE_DISALLOW_COPY_AND_ASSIGN(TypeName) \
9 TypeName(const TypeName&) = delete; \
10 TypeName& operator=(const TypeName&) = delete
11
12#endif // ACCESSIBILITY_BASE_MACROS_H_