17 lines
492 B
C++
17 lines
492 B
C++
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
|
|
#ifndef WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|
|
#define WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|
|
|
|
namespace wvutil {
|
|
|
|
#define CORE_DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
|
TypeName(const TypeName&); \
|
|
void operator=(const TypeName&)
|
|
|
|
} // namespace wvutil
|
|
|
|
#endif // WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|