Commit 7e8d2adf by Karsa Zoltán István

bugix

parent f72e805e
......@@ -198,9 +198,10 @@ int main() {
pool.release(pool.acquire(5));
EXPECT_EQ(1, pool.free_size());
EXPECT_EQ(1, pool.size());
pool.release(pool.acquire(15));
RString& tmp = pool.acquire(15);
pool.release(pool.acquire(20));
pool.release(pool.acquire(25));
pool.release(tmp);
EXPECT_EQ(4, pool.free_size());
EXPECT_EQ(4, pool.size());
RString& ref = pool.acquire(15);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment