[Scummvm-git-logs] scummvm master -> 2aba99819a73d22be4dd501f794457223fb69e5c

digitall 547637+digitall at users.noreply.github.com
Mon Mar 15 13:24:35 UTC 2021


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

Summary:
2aba99819a COMMON: Remove explicit ctors and copy assignment operator


Commit: 2aba99819a73d22be4dd501f794457223fb69e5c
    https://github.com/scummvm/scummvm/commit/2aba99819a73d22be4dd501f794457223fb69e5c
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-03-15T13:24:33Z

Commit Message:
COMMON: Remove explicit ctors and copy assignment operator

They're equivalent to the implicit ones anyway.

Changed paths:
    common/queue.h


diff --git a/common/queue.h b/common/queue.h
index 65a03ca553..c55d885c3c 100644
--- a/common/queue.h
+++ b/common/queue.h
@@ -45,12 +45,6 @@ class Queue {
 //	typedef T value_type;
 
 public:
-	Queue<T>() : _impl() {}
-	Queue<T>(const Queue<T> &queue) : _impl(queue._impl) {}
-#ifdef USE_CXX11
-	Queue<T> &operator=(const Queue<T> &other) = default; // FIXME: This may need replacing with custom copy operator code
-#endif
-
 	bool empty() const {
 		return _impl.empty();
 	}




More information about the Scummvm-git-logs mailing list