Fixed compilation errors
This commit is contained in:
parent
5b5aef8369
commit
cfd6f4b4e0
8 changed files with 34 additions and 25 deletions
|
|
@ -31,7 +31,7 @@ namespace NetworkingObjects {
|
|||
return *this;
|
||||
}
|
||||
template <typename T> template <typename S> NetObjTemporaryPtr<S> NetObjTemporaryPtr<T>::cast() const {
|
||||
return NetObjPtr<S>(objMan, id, static_cast<S>(rawPtr));
|
||||
return NetObjTemporaryPtr<S>(objMan, id, static_cast<S*>(rawPtr));
|
||||
}
|
||||
|
||||
template <typename T> NetObjManager* NetObjTemporaryPtr<T>::get_obj_man() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue