mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
Constify check. This fixes PR3900.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
807117dc56
commit
31fd5a571e
@ -744,7 +744,7 @@ template<class DataType, bool ExternalStorage, bool isClass>
|
||||
class opt_storage {
|
||||
DataType *Location; // Where to store the object...
|
||||
|
||||
void check() {
|
||||
void check() const {
|
||||
assert(Location != 0 && "cl::location(...) not specified for a command "
|
||||
"line option with external storage, "
|
||||
"or cl::init specified before cl::location()!!");
|
||||
|
Loading…
Reference in New Issue
Block a user