File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ namespace sndx::data {
3333 template <class ... Ts>
3434 struct overloads : Ts... { using Ts::operator ()...; };
3535
36+ template <class ... Ts>
37+ overloads (Ts...) -> overloads<Ts...>;
38+
3639 template <class T >
3740 concept numeric = std::integral<T> || std::floating_point<T>;
3841
Original file line number Diff line number Diff line change 66
77#include " ../../render/viewport.hpp"
88
9+ #include < algorithm>
910#include < type_traits>
1011#include < string>
12+ #include < string_view>
1113#include < stdexcept>
1214#include < optional>
1315#include < unordered_map>
1416
17+
1518namespace sndx ::input {
1619 class WindowGLFW : public Window <WindowGLFW> {
17- friend Window;
20+ friend Window<WindowGLFW> ;
1821 friend class WindowBuilderGLFW ;
1922
2023 std::string m_title{};
@@ -168,7 +171,7 @@ namespace sndx::input {
168171 };
169172
170173 class WindowBuilderGLFW final : public WindowBuilder<WindowBuilderGLFW> {
171- friend WindowBuilder;
174+ friend WindowBuilder<WindowBuilderGLFW> ;
172175
173176 GLFWmonitor* m_monitor = nullptr ;
174177 GLFWwindow* m_share = nullptr ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ using namespace sndx::input;
1414
1515class FakeWindow : public Window <FakeWindow> {
1616public:
17- friend Window;
17+ friend Window<FakeWindow> ;
1818
1919public:
2020 glm::vec2 m_pos{}, m_size{};
You can’t perform that action at this time.
0 commit comments