From 575f627136631804475dd9bcd00b225fd1c67053 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 13 Oct 2022 19:30:15 +0200 Subject: All View ctor parameters need to be explicitly stated. --- server/TracyView.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index ca5856a6..8036c2da 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -90,8 +90,8 @@ public: using SetTitleCallback = void(*)( const char* ); using SetScaleCallback = void(*)( float, ImFont*&, ImFont*&, ImFont*& ); - View( void(*cbMainThread)(std::function, bool), const char* addr, uint16_t port, ImFont* fixedWidth = nullptr, ImFont* smallFont = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr, SetScaleCallback sscb = nullptr ); - View( void(*cbMainThread)(std::function, bool), FileRead& f, ImFont* fixedWidth = nullptr, ImFont* smallFont = nullptr, ImFont* bigFont = nullptr, SetTitleCallback stcb = nullptr, SetScaleCallback sscb = nullptr ); + View( void(*cbMainThread)(std::function, bool), const char* addr, uint16_t port, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont, SetTitleCallback stcb, SetScaleCallback sscb ); + View( void(*cbMainThread)(std::function, bool), FileRead& f, ImFont* fixedWidth, ImFont* smallFont, ImFont* bigFont, SetTitleCallback stcb, SetScaleCallback sscb ); ~View(); static bool Draw(); -- cgit v1.2.3