- Fix obscure bug (with reference initialization, or nested name

specifiers?)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@490 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-03-05 01:07:51 +00:00
parent 8dab5cc548
commit 7207f697c7
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace memory {
// ------------------------------ // ------------------------------
template<typename T, bool isArray> template<typename T, bool isArray>
typename smart_ptr<T, isArray>::smart_ptr& smart_ptr<T, isArray>&
smart_ptr<T, isArray>::operator=(const smart_ptr& sptr) throw() smart_ptr<T, isArray>::operator=(const smart_ptr& sptr) throw()
{ {
if(this != &sptr && _contents != sptr._contents) if(this != &sptr && _contents != sptr._contents)