mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-12 10:17:28 +05:00
remove debug printout
This commit is contained in:
parent
fb394a9bd6
commit
744e4dbd01
@ -24,7 +24,6 @@ namespace XAO
|
|||||||
rstr.open(filePath.c_str());
|
rstr.open(filePath.c_str());
|
||||||
rstr.seekg(0, rstr.end); // go to the end
|
rstr.seekg(0, rstr.end); // go to the end
|
||||||
length = rstr.tellg(); // report location (this is the length)
|
length = rstr.tellg(); // report location (this is the length)
|
||||||
printf("---------------------------VSR: length=%ld\n", length);
|
|
||||||
rstr.seekg(0, rstr.beg); // go back to the beginning
|
rstr.seekg(0, rstr.beg); // go back to the beginning
|
||||||
char* txt = new char[length+1]; // allocate memory for a buffer of appropriate dimension
|
char* txt = new char[length+1]; // allocate memory for a buffer of appropriate dimension
|
||||||
rstr.read(txt, length); // read the whole file into the buffer
|
rstr.read(txt, length); // read the whole file into the buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user