]> git.lyx.org Git - lyx.git/blobdiff - src/support/cow_ptr.h
fix linking error in the frontend
[lyx.git] / src / support / cow_ptr.h
index 35975dc6204570bf6a946bf4761af242d94221ff..685d0e4ba9740364d956b4fa3a31a0b68ebc14bb 100644 (file)
@@ -60,9 +60,9 @@ cow_ptr<T>::cow_ptr(cow_ptr const & other)
 template <typename T>
 cow_ptr<T> & cow_ptr<T>::operator=(cow_ptr const & other)
 {
-        if (&other != this)
+       if (&other != this)
                ptr_ = other.ptr_;
-        return *this;
+       return *this;
 }
 
 
@@ -114,7 +114,7 @@ T * cow_ptr<T>::get()
 template <typename T>
 void cow_ptr<T>::copy()
 {
-        if (!ptr_.unique())
+       if (!ptr_.unique())
                ptr_ = boost::shared_ptr<T>(new T(*ptr_.get()));
 }