Skip to content

Commit

Permalink
Replace unexisting Ptr::GetUnsafe with Ptr::getUnsafe. (floooh#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
hb3p8 authored and floooh committed Jun 10, 2017
1 parent 66b435f commit 1f00e82
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/Modules/Core/Ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,23 @@ template<class T> class Ptr {
};
/// operator!=
template<class U> bool operator!=(const Ptr<U>& rhs) const {
return p != rhs.GetUnsafe();
return p != rhs.getUnsafe();
};
/// operator<
template<class U> bool operator<(const Ptr<U>& rhs) const {
return p < rhs.GetUnsafe();
return p < rhs.getUnsafe();
};
/// operator>
template<class U> bool operator>(const Ptr<U>& rhs) const {
return p > rhs.GetUnsafe();
return p > rhs.getUnsafe();
};
/// operator<=
template<class U> bool operator<=(const Ptr<U>& rhs) const {
return p <= rhs.GetUnsafe();
return p <= rhs.getUnsafe();
};
/// operator>=
template<class U> bool operator>=(const Ptr<U>& rhs) const {
return p >= rhs.GetUnsafe();
return p >= rhs.getUnsafe();
};
/// test if invalid (contains nullptr)
bool operator==(std::nullptr_t) const {
Expand Down

0 comments on commit 1f00e82

Please sign in to comment.