Skip to content

Commit

Permalink
Add missing <ranges> references (#1303)
Browse files Browse the repository at this point in the history
Something changed with VS update so <ranges> is no longer transitively included, so include it explicitly.
Should have been there anyway.
  • Loading branch information
chreden authored Nov 16, 2024
1 parent d76b57e commit 3cafdfe
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trview.app/Lua/Elements/Level/Lua_Level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "../StaticMesh/Lua_StaticMesh.h"
#include "../../Scriptable/IScriptable.h"

#include <ranges>

namespace trview
{
namespace lua
Expand Down
2 changes: 2 additions & 0 deletions trview.app/Lua/Elements/Room/Lua_Room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include "../StaticMesh/Lua_StaticMesh.h"
#include "../../Vector3.h"

#include <ranges>

namespace trview
{
namespace lua
Expand Down
2 changes: 2 additions & 0 deletions trview.app/Lua/Elements/Sector/Lua_Sector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <trview.common/Algorithms.h>
#include "../../../Elements/Floordata.h"

#include <ranges>

namespace trview
{
namespace lua
Expand Down
1 change: 1 addition & 0 deletions trview.app/Routing/RandomizerRoute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "../Settings/UserSettings.h"

#include <algorithm>
#include <ranges>

using namespace DirectX;
using namespace DirectX::SimpleMath;
Expand Down
1 change: 1 addition & 0 deletions trview.app/UI/GoTo.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "GoTo.h"
#include <charconv>
#include <ranges>

namespace trview
{
Expand Down
2 changes: 2 additions & 0 deletions trview.app/UI/ViewerUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "../Routing/IRoute.h"
#include "../Windows/IViewer.h"

#include <ranges>

using namespace DirectX::SimpleMath;

namespace trview
Expand Down

0 comments on commit 3cafdfe

Please sign in to comment.