Fix build more

This was SVN commit r9353.
This commit is contained in:
Ykkrosh 2011-04-29 23:30:29 +00:00
parent 34ba390a0d
commit 335e7db6be

View File

@ -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_;