mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-06 18:20:17 +00:00
revert changes
This commit is contained in:
parent
8b84baba59
commit
7a53ae47ee
@ -128,7 +128,7 @@ struct pod_vector{
|
||||
}
|
||||
|
||||
~pod_vector() {
|
||||
if(_data!=nullptr) pool64_dealloc(_data);
|
||||
if(_data != nullptr) pool64_dealloc(_data);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -7,7 +7,8 @@ namespace pkpy{
|
||||
// Skip utf8 BOM if there is any.
|
||||
if (strncmp(source.data(), "\xEF\xBB\xBF", 3) == 0) index += 3;
|
||||
// Drop all '\r'
|
||||
SStream ss(source.size());
|
||||
// SStream ss(source.size());
|
||||
SStream ss;
|
||||
while(index < source.size()){
|
||||
if(source[index] != '\r') ss << source[index];
|
||||
index++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user