fixed bug not copying size parameter to new Buffer objects

git-svn-id: svn://anubis/misc/FileLoader@181 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-10-17 22:08:50 +00:00
parent 992776704d
commit 393c227cce

View File

@ -34,6 +34,7 @@ class FileLoader
void copy(const Buffer & other)
{
data = other.data;
size = other.size;
_refcnt = other._refcnt;
(*_refcnt)++;
}