Migrated fixes for namespace issues to Unreal plugin source.

This commit is contained in:
Tim Ambrogi 2022-05-19 11:25:20 -04:00
parent 45afeb692d
commit 4e68d41721
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ protected:
// Friends
template<class, class> friend class StateHandle;
friend class ::TaskFSM;
friend class NAMESPACE_SQUID::TaskFSM;
// Constructors (friend-only)
LinkHandle() = delete;

View File

@ -17,7 +17,7 @@
#if SQUID_ENABLE_TASK_DEBUG
/// @ingroup Tasks
/// @brief Macro that instruments a task with a debug name string. Usually at the top of every task coroutine as @c TASK_NAME(__FUNCTION__)
#define TASK_NAME(...) co_await SetDebugName(__VA_ARGS__);
#define TASK_NAME(...) co_await NAMESPACE_SQUID::SetDebugName(__VA_ARGS__);
#define DEBUG_STR , FString in_debugStr
#define PASS_DEBUG_STR , in_debugStr
#define MANUAL_DEBUG_STR(debugStr) , debugStr

View File

@ -102,7 +102,7 @@ public:
}
private:
friend class ::TaskFSM;
friend class NAMESPACE_SQUID::TaskFSM;
StateHandle() = delete;
StateHandle(TSharedPtr<State<tStateInput, tStateConstructorFn>> InStatePtr)