Skip to content

Commit 013e223

Browse files
authored
Merge pull request #222 from RobLoach/clipboard-fix
Fix infinite recursion warning
2 parents 5631451 + 11fecc4 commit 013e223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/Window.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,14 +356,14 @@ class Window {
356356
* Set clipboard text content
357357
*/
358358
inline void SetClipboardText(const std::string& text) {
359-
SetClipboardText(text.c_str());
359+
::SetClipboardText(text.c_str());
360360
}
361361

362362
/**
363363
* Get clipboard text content
364364
*/
365365
inline const std::string& GetClipboardText() {
366-
return GetClipboardText();
366+
return ::GetClipboardText();
367367
}
368368

369369
/**

0 commit comments

Comments
 (0)