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:
parent
992776704d
commit
393c227cce
@ -34,6 +34,7 @@ class FileLoader
|
||||
void copy(const Buffer & other)
|
||||
{
|
||||
data = other.data;
|
||||
size = other.size;
|
||||
_refcnt = other._refcnt;
|
||||
(*_refcnt)++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user