diff options
Diffstat (limited to 'source/core/smart-pointer.h')
| -rw-r--r-- | source/core/smart-pointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/smart-pointer.h b/source/core/smart-pointer.h index 3e64eac96..17d6caaa4 100644 --- a/source/core/smart-pointer.h +++ b/source/core/smart-pointer.h @@ -127,7 +127,7 @@ namespace Slang template <typename U> typename EnableIf<IsConvertible<T*, U*>::value, void>::type - operator=(RefPtr<U> const& ptr) + operator=(RefPtr<U> const& p) { T* old = pointer; addReference(p.pointer); |
