Common/Utilities: Move EnumUtils' implementation struct from Trinity::Impl to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl.

(cherry picked from commit 91744de316)
This commit is contained in:
Treeston
2020-08-23 15:04:23 +02:00
committed by Shauren
parent 27405870e0
commit 03b5c17863
10 changed files with 22 additions and 25 deletions

View File

@@ -108,7 +108,7 @@ def processFile(path, filename):
output.write('#include "SmartEnum.h"\n')
output.write('#include <stdexcept>\n')
output.write('\n')
output.write('namespace Trinity::Impl\n')
output.write('namespace Trinity::Impl::EnumUtilsImpl\n')
output.write('{\n')
for name, values in enums:
tag = ('data for enum \'%s\' in \'%s.h\' auto-generated' % (name, filename))