mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
we can silently pack these strings, i think
This commit is contained in:
@@ -29,7 +29,6 @@ namespace Base
|
||||
#endif
|
||||
|
||||
#if defined (PASCAL_STRING)
|
||||
#pragma message ("--- Packing pascal style strings ---")
|
||||
void get(Base::ByteStream::ReadIterator& source, std::string& target)
|
||||
{
|
||||
unsigned int size = 0;
|
||||
@@ -51,7 +50,6 @@ namespace Base
|
||||
}
|
||||
|
||||
#else
|
||||
#pragma message ("--- Packing c style strings ---")
|
||||
void get(ByteStream::ReadIterator & source, std::string & target)
|
||||
{
|
||||
target = reinterpret_cast<const char *>(source.getBuffer());
|
||||
|
||||
Reference in New Issue
Block a user