[Scummvm-git-logs] scummvm master -> 42e23f55e421bf0621deefd9d0d409a0226f5950
whoozle
noreply at scummvm.org
Sun Nov 30 19:18:16 UTC 2025
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:
42e23f55e4 COMMON: allow BEGIN_{RECT,POINT}_TYPE to be used outside Common namespace
Commit: 42e23f55e421bf0621deefd9d0d409a0226f5950
https://github.com/scummvm/scummvm/commit/42e23f55e421bf0621deefd9d0d409a0226f5950
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2025-11-30T19:17:51Z
Commit Message:
COMMON: allow BEGIN_{RECT,POINT}_TYPE to be used outside Common namespace
Changed paths:
common/rect.h
diff --git a/common/rect.h b/common/rect.h
index 290d6320a9f..8810a10dee9 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -133,7 +133,7 @@ struct PointBase {
* Old GCC don't support constructor inheritance
*/
#define BEGIN_POINT_TYPE(T, Point) \
- struct Point : public PointBase<T, Point> {
+ struct Point : public Common::PointBase<T, Point> {
#define END_POINT_TYPE(T, Point) \
constexpr Point() : PointBase() {} \
constexpr Point(T x1, T y1) : PointBase(x1, y1) {} \
@@ -511,7 +511,7 @@ struct RectBase {
* Old GCC don't support constructor inheritance
*/
#define BEGIN_RECT_TYPE(T, Rect, Point) \
- struct Rect : public RectBase<T, Rect, Point> {
+ struct Rect : public Common::RectBase<T, Rect, Point> {
#define END_RECT_TYPE(T, Rect, Point) \
constexpr Rect() : RectBase() {} \
More information about the Scummvm-git-logs
mailing list