File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/AI
Generals/Code/GameEngine/Source/GameLogic/AI Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments