aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceinterface.h
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2022-04-13 19:29:44 -0300
committerBarichello <artur@barichello.me>2022-04-13 19:30:40 -0300
commit47ea109be0d73120ddfe6896494e1fce986515b3 (patch)
treefb440b3ab2a00bf506182a9c9a9500d1c4711e0c /NorthstarDedicatedTest/sourceinterface.h
parent04b0b417d1c9f45a708d3e2eec9146fabe09c1d1 (diff)
downloadNorthstarLauncher-47ea109be0d73120ddfe6896494e1fce986515b3.tar.gz
NorthstarLauncher-47ea109be0d73120ddfe6896494e1fce986515b3.zip
Format project
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.h')
-rw-r--r--NorthstarDedicatedTest/sourceinterface.h10
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