Fixes #188 ("Build fails when RTTI is disabled")

This commit is contained in:
Ion Gaztañaga
2021-08-08 00:06:01 +02:00
parent aa479c8eee
commit aaa2485ebf
6 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void unsynchronized_pool_resource::do_deallocate(void* p, std::size_t bytes, std
{ return m_resource.do_deallocate(p, bytes, alignment); }
bool unsynchronized_pool_resource::do_is_equal(const memory_resource& other) const BOOST_NOEXCEPT //virtual
{ return this == dynamic_cast<const unsynchronized_pool_resource*>(&other); }
{ return this == &other; }
std::size_t unsynchronized_pool_resource::pool_count() const
{ return m_resource.pool_count(); }