[Scummvm-git-logs] scummvm master -> 3fc4293ffe18b5034e4daa35ce089ae6b40b43b7

bluegr noreply at scummvm.org
Tue Apr 14 20:02:14 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
3fc4293ffe TETRAEDGE: disable copy/move in C++11 style for PathNode


Commit: 3fc4293ffe18b5034e4daa35ce089ae6b40b43b7
    https://github.com/scummvm/scummvm/commit/3fc4293ffe18b5034e4daa35ce089ae6b40b43b7
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-04-14T23:02:09+03:00

Commit Message:
TETRAEDGE: disable copy/move in C++11 style for PathNode

Changed paths:
    engines/tetraedge/te/micropather.h


diff --git a/engines/tetraedge/te/micropather.h b/engines/tetraedge/te/micropather.h
index 7b398ebb3a7..58ec658dfbc 100644
--- a/engines/tetraedge/te/micropather.h
+++ b/engines/tetraedge/te/micropather.h
@@ -151,6 +151,12 @@ namespace micropather
 	class PathNode
 	{
 	public:
+		PathNode() = default;
+		PathNode(const PathNode &) = delete;
+		PathNode(PathNode &&) = delete;
+		PathNode &operator=(const PathNode &) = delete;
+		PathNode &operator=(PathNode &&) = delete;
+
 		void Init(	unsigned _frame,
 					void* _state,
 					float _costFromStart,
@@ -209,10 +215,6 @@ namespace micropather
 			else
 				totalCost = FLT_MAX;
 		}
-
-	private:
-
-		void operator=( const PathNode& );
 	};
 
 




More information about the Scummvm-git-logs mailing list