Loading include/SharedPtr.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class SharedPtr SharedPtr() : p(0), c(0) {} explicit SharedPtr(T* s) : p(s), c(new unsigned(1)) {} SharedPtr(int null) : p(0), c(0) {} SharedPtr(void* null) : p(0), c(0) {} SharedPtr(const SharedPtr& s) : p(s.p), c(s.c) { if(c) ++*c; } Loading src/SDFRBlock.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ bool SDFRBlock::loadFields(InputText& fp) throw(PacketException*) { try { char* line; numberOfRBlocks = 1; rblockFilename = new char* [numberOfRBlocks]; numberOfBlockFixed[0] = true; Loading @@ -56,7 +55,7 @@ bool SDFRBlock::loadFields(InputText& fp) throw(PacketException*) block[0].loadFields(fp); fp.setpos(0); /// It gets the [Identifiers] section line = fp.getLine("[Identifiers]"); fp.getLine("[Identifiers]"); return true; } catch(PacketExceptionIO* e) Loading Loading
include/SharedPtr.h +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class SharedPtr SharedPtr() : p(0), c(0) {} explicit SharedPtr(T* s) : p(s), c(new unsigned(1)) {} SharedPtr(int null) : p(0), c(0) {} SharedPtr(void* null) : p(0), c(0) {} SharedPtr(const SharedPtr& s) : p(s.p), c(s.c) { if(c) ++*c; } Loading
src/SDFRBlock.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ bool SDFRBlock::loadFields(InputText& fp) throw(PacketException*) { try { char* line; numberOfRBlocks = 1; rblockFilename = new char* [numberOfRBlocks]; numberOfBlockFixed[0] = true; Loading @@ -56,7 +55,7 @@ bool SDFRBlock::loadFields(InputText& fp) throw(PacketException*) block[0].loadFields(fp); fp.setpos(0); /// It gets the [Identifiers] section line = fp.getLine("[Identifiers]"); fp.getLine("[Identifiers]"); return true; } catch(PacketExceptionIO* e) Loading