Remove FMT_USE_RVALUE_REFERENCES

This commit is contained in:
Victor Zverovich
2018-07-22 15:07:53 -07:00
parent 5befe6584d
commit c178ab440f
4 changed files with 12 additions and 127 deletions

View File

@@ -235,8 +235,6 @@ TEST(MemoryBufferTest, Ctor) {
EXPECT_EQ(123u, buffer.capacity());
}
#if FMT_USE_RVALUE_REFERENCES
typedef AllocatorRef< std::allocator<char> > TestAllocator;
static void check_move_buffer(const char *str,
@@ -304,8 +302,6 @@ TEST(MemoryBufferTest, MoveAssignment) {
EXPECT_GT(buffer2.capacity(), 5u);
}
#endif // FMT_USE_RVALUE_REFERENCES
TEST(MemoryBufferTest, Grow) {
typedef AllocatorRef< MockAllocator<int> > Allocator;
typedef basic_memory_buffer<int, 10, Allocator> Base;