* Fix a crash when reloading ACE controls data
The crash was due to destruction of xml_node that was held in a
unique_ptr. Rapidxml has a very rudimentary memory allocation design,
so in most cases dynamic allocations aren't even made. The memory_pool
does all the cleanup in its destructor, so having a unique_ptr run its
default_delete was causing the crash.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Fix numerical conversion warnings
Wwise source files needed a few fixes for the numerical conversion
warning changes that went in recently.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
Change DeepCopyNode utility to return a unique_ptr, fix up some
string/path usages to avoid temporaries, etc.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
Updates the Audio Controls Editor code to use rapidxml instead of legacy
xml apis. Further makes improvements to path manipulations away from
strings towards PathView apis and similar.
Fixes some issues encountered with memory management when handling xml
data that did not occur previously.
Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com>
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com>