[Scummvm-git-logs] scummvm master -> 1b11fe993c98f6f1c2a82aee67e7dc773de1d34c
dreammaster
dreammaster at scummvm.org
Sun Feb 7 05:14:45 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:
1b11fe993c COMMON: Refactor c++11 using keyword from SharedPtr
Commit: 1b11fe993c98f6f1c2a82aee67e7dc773de1d34c
https://github.com/scummvm/scummvm/commit/1b11fe993c98f6f1c2a82aee67e7dc773de1d34c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-02-06T21:14:30-08:00
Commit Message:
COMMON: Refactor c++11 using keyword from SharedPtr
Changed paths:
common/ptr.h
diff --git a/common/ptr.h b/common/ptr.h
index 35f326de69..4c259efabb 100644
--- a/common/ptr.h
+++ b/common/ptr.h
@@ -276,8 +276,8 @@ class WeakPtr;
template<class T>
class SharedPtr : public BasePtr<T> {
public:
- using ReferenceType = typename BasePtr<T>::ReferenceType;
- using PointerType = typename BasePtr<T>::PointerType;
+ typedef T *PointerType;
+ typedef T &ReferenceType;
SharedPtr() : BasePtr<T>() {
}
More information about the Scummvm-git-logs
mailing list