diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 92310e52..64e63c38 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -2,7 +2,7 @@ #define __TRACYIMGUI_HPP__ #ifdef _MSC_VER -# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data +# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data #endif #include @@ -193,7 +193,7 @@ namespace tracy const auto manhatten_distance = x0 + flipped_v0y; const auto in_multiples_of_2_times_sw = int( manhatten_distance / ( sw*2 ) ); - + const auto floored_manhatten_distance = double( in_multiples_of_2_times_sw*sw*2 ); //floor in terms of 2 * stripe width const auto corrected_flipped_v0y = ( floored_manhatten_distance - x0 ); //the corrected (floored) y respects the position of the stripes diff --git a/server/TracySourceTokenizer.cpp b/server/TracySourceTokenizer.cpp index 0ce8f3ed..7618faa6 100644 --- a/server/TracySourceTokenizer.cpp +++ b/server/TracySourceTokenizer.cpp @@ -311,5 +311,4 @@ out: return TokenColor::Default; } - }