diff options
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.h')
-rw-r--r-- | NorthstarDedicatedTest/sourceinterface.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/sourceinterface.h b/NorthstarDedicatedTest/sourceinterface.h index a00f165e..05318963 100644 --- a/NorthstarDedicatedTest/sourceinterface.h +++ b/NorthstarDedicatedTest/sourceinterface.h @@ -19,9 +19,15 @@ template <typename T> class SourceInterface spdlog::error("Failed to call CreateInterface for %s in %s", interfaceName, moduleName); } - T* operator->() const { return m_interface; } + T* operator->() const + { + return m_interface; + } - operator T*() const { return m_interface; } + operator T*() const + { + return m_interface; + } }; // functions for interface creation callbacks |