Fixed compilation errors
This commit is contained in:
parent
5b5aef8369
commit
cfd6f4b4e0
8 changed files with 34 additions and 25 deletions
|
|
@ -27,14 +27,17 @@ namespace NetworkingObjects {
|
|||
NetObjWeakPtr& operator=(const NetObjOwnerPtr<T>& other) {
|
||||
objMan = other.objMan;
|
||||
id = other.id;
|
||||
return *this;
|
||||
}
|
||||
NetObjWeakPtr& operator=(const NetObjTemporaryPtr<T>& other) {
|
||||
objMan = other.objMan;
|
||||
id = other.id;
|
||||
return *this;
|
||||
}
|
||||
NetObjWeakPtr& operator=(const NetObjWeakPtr& other) {
|
||||
objMan = other.objMan;
|
||||
id = other.id;
|
||||
return *this;
|
||||
}
|
||||
template <typename S> NetObjWeakPtr<S> cast() const {
|
||||
return NetObjWeakPtr<S>(objMan, id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue