Skip to content

Commit fae8029

Browse files
committed
nit: make comments consistent
1 parent 2a5e8f8 commit fae8029

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Generals/Code/GameEngine/Source/GameLogic/AI/AIStates.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@ void AIStateMachine::setGoalPath( std::vector<Coord3D>* path )
822822
m_goalPath = std::move(*path);
823823
#else
824824
// TheSuperHackers @performance bobtista 23/11/2025 Use swap to emulate move semantics for VC6 compatibility
825-
// Swap transfers ownership without copying. Clear source to make intent explicit.
826825
m_goalPath.swap(*path);
827826
path->clear();
828827
#endif

GeneralsMD/Code/GameEngine/Source/GameLogic/AI/AIStates.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,6 @@ void AIStateMachine::setGoalPath( std::vector<Coord3D>* path )
827827
m_goalPath = std::move(*path);
828828
#else
829829
// TheSuperHackers @performance bobtista 23/11/2025 Use swap to emulate move semantics for VC6 compatibility
830-
// Swap transfers ownership without copying. Clear source to make intent explicit.
831830
m_goalPath.swap(*path);
832831
path->clear();
833832
#endif

0 commit comments

Comments
 (0)