From c9e889723b7af832322d178975e6e440d6cd3ae5 Mon Sep 17 00:00:00 2001 From: LDA Date: Mon, 26 Jun 2023 11:48:27 -0700 Subject: resolved most of the compiler warnings/errors under gcc also update xxhash and tinyformat --- source/windowing/StarPaneManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/windowing/StarPaneManager.cpp') diff --git a/source/windowing/StarPaneManager.cpp b/source/windowing/StarPaneManager.cpp index 9eab577..ff0341f 100644 --- a/source/windowing/StarPaneManager.cpp +++ b/source/windowing/StarPaneManager.cpp @@ -17,7 +17,7 @@ PaneManager::PaneManager() } void PaneManager::displayPane(PaneLayer paneLayer, PanePtr const& pane, DismissCallback onDismiss) { - if (!m_displayedPanes[paneLayer].insertFront(move(pane), move(onDismiss)).second) + if (!m_displayedPanes[paneLayer].insertFront(pane, move(onDismiss)).second) throw GuiException("Pane displayed twice in PaneManager::displayPane"); if (!pane->hasDisplayed() && pane->anchor() == PaneAnchor::None) -- cgit v1.2.3