Skip to content

Commit 0de8c41

Browse files
committed
use label for some tables
1 parent 29af31b commit 0de8c41

File tree

1 file changed

+3
-4
lines changed
  • Framework/Core/include/Framework

1 file changed

+3
-4
lines changed

Framework/Core/include/Framework/ASoA.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3896,14 +3896,13 @@ consteval auto getIndexTargets()
38963896
using _Name_ = _Name_##From<Hash<_Origin_ ""_h>>;
38973897

38983898
#define DECLARE_SOA_TABLE_FULL_VERSIONED(_Name_, _Label_, _Origin_, _Desc_, _Version_, ...) \
3899-
O2HASH(#_Name_);\
39003899
DECLARE_SOA_TABLE_METADATA(_Name_, _Desc_, _Version_, __VA_ARGS__); \
3901-
DECLARE_SOA_TABLE_FULL_VERSIONED_(_Name_, #_Name_, _Origin_, _Desc_, _Version_);
3900+
DECLARE_SOA_TABLE_FULL_VERSIONED_(_Name_, _Label_, _Origin_, _Desc_, _Version_);
39023901

39033902
#define DECLARE_SOA_TABLE_FULL(_Name_, _Label_, _Origin_, _Desc_, ...) \
3904-
O2HASH(#_Name_); \
3903+
O2HASH(_Label_); \
39053904
DECLARE_SOA_TABLE_METADATA(_Name_, _Desc_, 0, __VA_ARGS__); \
3906-
DECLARE_SOA_TABLE_FULL_VERSIONED_(_Name_, #_Name_, _Origin_, _Desc_, 0)
3905+
DECLARE_SOA_TABLE_FULL_VERSIONED_(_Name_, _Label_, _Origin_, _Desc_, 0)
39073906

39083907
#define DECLARE_SOA_TABLE(_Name_, _Origin_, _Desc_, ...) \
39093908
DECLARE_SOA_TABLE_FULL(_Name_, #_Name_, _Origin_, _Desc_, __VA_ARGS__)

0 commit comments

Comments
 (0)