mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
* BugFix: Correct not setting the string to interned when allocating a StringData with a DataChunker in str.cpp.
This commit is contained in:
parent
2cdfe70e50
commit
6d0e81763b
1 changed files with 1 additions and 1 deletions
|
|
@ -647,7 +647,7 @@ String String::intern() const
|
|||
|
||||
// Create new.
|
||||
|
||||
StringData* data = StringData::Create(c_str(), length(), sInternTable->mChunker);
|
||||
StringData* data = StringData::Create(c_str(), length(), sInternTable->mChunker, true);
|
||||
|
||||
//StringData* data = new ( length(), sInternTable->mChunker ) StringData( c_str(), true );
|
||||
iter = sInternTable->insertUnique( data, data );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue