summaryrefslogtreecommitdiffstats
path: root/source/core/slang-castable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-castable.cpp')
-rw-r--r--source/core/slang-castable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/core/slang-castable.cpp b/source/core/slang-castable.cpp
index f3c6541dd..ece87fe2b 100644
--- a/source/core/slang-castable.cpp
+++ b/source/core/slang-castable.cpp
@@ -1,11 +1,12 @@
// slang-castable.cpp
#include "slang-castable.h"
-namespace Slang {
+namespace Slang
+{
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! CastableUtil !!!!!!!!!!!!!!!!!!!!!!!!!!! */
-/* static */ComPtr<ICastable> CastableUtil::getCastable(ISlangUnknown* unk)
+/* static */ ComPtr<ICastable> CastableUtil::getCastable(ISlangUnknown* unk)
{
SLANG_ASSERT(unk);
ComPtr<ICastable> castable;
@@ -52,8 +53,7 @@ void* UnknownCastableAdapter::castAs(const Guid& guid)
void* UnknownCastableAdapter::getInterface(const Guid& guid)
{
- if (guid == ISlangUnknown::getTypeGuid() ||
- guid == ICastable::getTypeGuid() ||
+ if (guid == ISlangUnknown::getTypeGuid() || guid == ICastable::getTypeGuid() ||
guid == IUnknownCastableAdapter::getTypeGuid())
{
return static_cast<IUnknownCastableAdapter*>(this);