diff options
| author | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 21:58:51 +1200 |
|---|---|---|
| committer | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 23:05:19 +1200 |
| commit | 42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch) | |
| tree | 95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/Resource/Actor/resResourceASResource.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Resource/Actor/resResourceASResource.cpp')
| -rw-r--r-- | src/KingSystem/Resource/Actor/resResourceASResource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KingSystem/Resource/Actor/resResourceASResource.cpp b/src/KingSystem/Resource/Actor/resResourceASResource.cpp index e6b2be31..8805110c 100644 --- a/src/KingSystem/Resource/Actor/resResourceASResource.cpp +++ b/src/KingSystem/Resource/Actor/resResourceASResource.cpp @@ -216,7 +216,8 @@ ASResourceWithChildren::~ASResourceWithChildren() { mChildren.freeBuffer(); } -// NON_MATCHING: getParameterData (redundant uxtw which leads to localised regalloc diffs) +// getParameterData (redundant uxtw which leads to localised regalloc diffs) +#ifdef NON_MATCHING bool ASResourceWithChildren::doParse(const ASResource::ParseArgs& args) { const auto Children = agl::utl::getResParameterObj(args.list, "Children"); if (!Children) @@ -238,6 +239,7 @@ bool ASResourceWithChildren::doParse(const ASResource::ParseArgs& args) { return true; } +#endif int ASResourceWithChildren::callOnChildren_(MemberFunction fn) { int ret = 0; |
