]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/pool.cpp
Minor optimization to AccessGuard::check
[libs/game.git] / source / game / pool.cpp
index 901e09ef41dc0df54ee11d269aad203928cc7419..95e1b4a261c3137865770d38e0894efb3b03056d 100644 (file)
@@ -59,7 +59,7 @@ PoolBase::~PoolBase()
 void PoolBase::destroy_all()
 {
        if(object_count>0)
-               IO::print(IO::cerr, "Warning: pool is being destroyed but has %d live objects", object_count);
+               IO::print(IO::cerr, "Warning: pool is being destroyed but has %d live objects\n", object_count);
 
        unsigned block_count = capacity/BLOCK_SIZE;
        for(unsigned i=0; i<block_count; ++i)