From 14e834b900426c6dfb742acee3e62d60fab46869 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 3 Jul 2023 09:58:57 +0200 Subject: c++,window: Fixed compilation issues for window. --- src/window/xcb.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/window/xcb.cpp') diff --git a/src/window/xcb.cpp b/src/window/xcb.cpp index 5e6540c..0a27643 100644 --- a/src/window/xcb.cpp +++ b/src/window/xcb.cpp @@ -212,8 +212,7 @@ error_or>> create_xcb_device(io_provider& provide return heap>(display, screen, xcb_connection, xcb_screen, std::move(fd_wrapped)); } -template<> -window::window(device& dev_, xcb_window_t xcb_win, xcb_colormap_t xcb_colormap_, const video_mode& vid_mode_, std::string_view& title_view_): +window::window(device& dev_, xcb_window_t xcb_win, xcb_colormap_t xcb_colormap_, const video_mode& vid_mode_, const std::string_view& title_view_): device_{&dev_}, xcb_window_{xcb_win}, xcb_colormap_{xcb_colormap_}, -- cgit v1.2.3