[Orxonox-commit 2564] r7269 - code/branches/consolecommands3/src/libraries/util
landauf at orxonox.net
landauf at orxonox.net
Mon Aug 30 19:44:02 CEST 2010
Author: landauf
Date: 2010-08-30 19:44:01 +0200 (Mon, 30 Aug 2010)
New Revision: 7269
Modified:
code/branches/consolecommands3/src/libraries/util/SharedPtr.h
Log:
ok ok... ;)
Modified: code/branches/consolecommands3/src/libraries/util/SharedPtr.h
===================================================================
--- code/branches/consolecommands3/src/libraries/util/SharedPtr.h 2010-08-30 17:34:07 UTC (rev 7268)
+++ code/branches/consolecommands3/src/libraries/util/SharedPtr.h 2010-08-30 17:44:01 UTC (rev 7269)
@@ -117,14 +117,14 @@
}
}
- inline const SharedPtr& operator=(const SharedPtr& other)
+ inline SharedPtr& operator=(const SharedPtr& other)
{
SharedPtr(other).swap(*this);
return *this;
}
template <class O>
- inline const SharedPtr& operator=(const SharedPtr<O>& other)
+ inline SharedPtr& operator=(const SharedPtr<O>& other)
{
SharedPtr(other).swap(*this);
return *this;
More information about the Orxonox-commit
mailing list