From 11fecc4829eac1665709d5a52828886a6d67c974 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sun, 4 Dec 2022 19:55:00 -0500 Subject: [PATCH] Fix infinite recursion warning Reported by @kyomawolf Fixes #221 --- include/Window.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Window.hpp b/include/Window.hpp index f5459f41..2af3a2ab 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -356,14 +356,14 @@ class Window { * Set clipboard text content */ inline void SetClipboardText(const std::string& text) { - SetClipboardText(text.c_str()); + ::SetClipboardText(text.c_str()); } /** * Get clipboard text content */ inline const std::string& GetClipboardText() { - return GetClipboardText(); + return ::GetClipboardText(); } /**