[Scummvm-git-logs] scummvm master -> 255d0d35faa9f5c6f57e98c3e6cca1af262b2e17

orgads noreply at scummvm.org
Tue Aug 13 19:46:52 UTC 2024


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:
255d0d35fa COMMON: Fix function comment


Commit: 255d0d35faa9f5c6f57e98c3e6cca1af262b2e17
    https://github.com/scummvm/scummvm/commit/255d0d35faa9f5c6f57e98c3e6cca1af262b2e17
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2024-08-13T22:46:36+03:00

Commit Message:
COMMON: Fix function comment

It was copied from emplace.

Changed paths:
    common/array.h


diff --git a/common/array.h b/common/array.h
index a0808b3668e..c1458983f24 100644
--- a/common/array.h
+++ b/common/array.h
@@ -170,7 +170,7 @@ public:
 		_size++;
 	}
 
-	/** Construct an element into a position in the array. */
+	/** Construct an element to the end of the array. */
 	template<class... TArgs>
 	void emplace_back(TArgs &&...args) {
 		emplace(begin() + _size, Common::forward<TArgs>(args)...);




More information about the Scummvm-git-logs mailing list