mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix clang errors
This commit is contained in:
parent
4277c6d930
commit
4a761c2e27
3 changed files with 11 additions and 7 deletions
|
|
@ -7,9 +7,11 @@
|
||||||
// terms of the GNU General Public License, version 2.
|
// terms of the GNU General Public License, version 2.
|
||||||
// See the 'LICENSE' file for more details.
|
// See the 'LICENSE' file for more details.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
/// \file k_botitem.c
|
/// \file k_botitem.cpp
|
||||||
/// \brief Bot item usage logic
|
/// \brief Bot item usage logic
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include <tracy/tracy/Tracy.hpp>
|
#include <tracy/tracy/Tracy.hpp>
|
||||||
|
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,11 @@
|
||||||
// terms of the GNU General Public License, version 2.
|
// terms of the GNU General Public License, version 2.
|
||||||
// See the 'LICENSE' file for more details.
|
// See the 'LICENSE' file for more details.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
/// \file k_botsearch.c
|
/// \file k_botsearch.cpp
|
||||||
/// \brief Bot blockmap search functions
|
/// \brief Bot blockmap search functions
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include <tracy/tracy/Tracy.hpp>
|
#include <tracy/tracy/Tracy.hpp>
|
||||||
|
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
|
|
|
||||||
|
|
@ -4473,7 +4473,7 @@ static void K_drawKartMinimap(void)
|
||||||
|
|
||||||
MiniWaypoint(waypoint_t* wp) : waypoint(wp), rank(K_RankMinimapWaypoint(wp)) {}
|
MiniWaypoint(waypoint_t* wp) : waypoint(wp), rank(K_RankMinimapWaypoint(wp)) {}
|
||||||
|
|
||||||
bool operator<(const MiniWaypoint& b) { return rank < b.rank; }
|
bool operator<(const MiniWaypoint& b) const noexcept { return rank < b.rank; }
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<MiniWaypoint> waypoints;
|
std::vector<MiniWaypoint> waypoints;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue