Merge from Widevine repo of http://go/wvgerrit/54540 Addressing comments in http://go/ag/4448747 Test: tested as part of http://go/ag/4674759 Change-Id: I29005397efcc2e982e635581cc68c8293cea6243
18 lines
498 B
C++
18 lines
498 B
C++
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine Master
|
|
// License Agreement.
|
|
|
|
#ifndef WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|
|
#define WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|
|
|
|
namespace wvcdm {
|
|
|
|
#define CORE_DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
|
TypeName(const TypeName&); \
|
|
void operator=(const TypeName&)
|
|
|
|
|
|
} // namespace wvcdm
|
|
|
|
#endif // WVCDM_UTIL_DISALLOW_COPY_AND_ASSIGN_H_
|