forked from 0ad/0ad
Fix build more
This was SVN commit r9353.
This commit is contained in:
parent
34ba390a0d
commit
335e7db6be
@ -135,6 +135,11 @@ public:
|
||||
std::swap(size_, rhs.size_);
|
||||
}
|
||||
|
||||
// don't define construction and assignment from lvalue,
|
||||
// but the declarations must be accessible
|
||||
UniqueRange(const UniqueRange&);
|
||||
UniqueRange& operator=(const UniqueRange&);
|
||||
|
||||
private:
|
||||
void Set(pointer p, size_t size, IdxDeleter deleter)
|
||||
{
|
||||
@ -154,10 +159,6 @@ private:
|
||||
CallUniqueRangeDeleter(get(), size(), get_deleter());
|
||||
}
|
||||
|
||||
// disallow construction and assignment from lvalue
|
||||
UniqueRange(const UniqueRange&);
|
||||
UniqueRange& operator=(const UniqueRange&);
|
||||
|
||||
// (IdxDeleter is stored in the lower bits of address since size might not even be a multiple of 4.)
|
||||
uintptr_t address_;
|
||||
size_t size_;
|
||||
|
Loading…
Reference in New Issue
Block a user