summaryrefslogtreecommitdiff
path: root/src/config/lua/objects/LuaWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/lua/objects/LuaWindow.cpp')
-rw-r--r--src/config/lua/objects/LuaWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/lua/objects/LuaWindow.cpp b/src/config/lua/objects/LuaWindow.cpp
index 7fe87334..41edcc78 100644
--- a/src/config/lua/objects/LuaWindow.cpp
+++ b/src/config/lua/objects/LuaWindow.cpp
@@ -176,7 +176,7 @@ static int windowIndex(lua_State* L) {
}
const auto& tiledAlgo = algo->tiledAlgo();
- const std::string name = Layout::Supplementary::algoMatcher()->getNameForTiledAlgo(&typeid(*tiledAlgo.get()));
+ const std::string name = Layout::Supplementary::algoMatcher()->getNameForTiledAlgo(tiledAlgo.get());
lua_newtable(L);
lua_pushstring(L, name.c_str());