mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Fix = delete in MSVC build from r211705
MSVC doesn't support = delete yet, use LLVM_DELETED_FUNCTION instead. Related to: http://reviews.llvm.org/D3390 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4feaf82bc
commit
a9d13b157f
@ -46,8 +46,10 @@ private:
|
||||
std::mt19937_64 Generator;
|
||||
|
||||
// Noncopyable.
|
||||
RandomNumberGenerator(const RandomNumberGenerator &other) = delete;
|
||||
RandomNumberGenerator &operator=(const RandomNumberGenerator &other) = delete;
|
||||
RandomNumberGenerator(const RandomNumberGenerator &other)
|
||||
LLVM_DELETED_FUNCTION;
|
||||
RandomNumberGenerator &
|
||||
operator=(const RandomNumberGenerator &other) LLVM_DELETED_FUNCTION;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user