]> www.ginac.de Git - ginac.git/blobdiff - ginac/ptr.h
Fix some pedantic compiler warnings.
[ginac.git] / ginac / ptr.h
index 76c3ee7e4b21c40e199ced9f1cd580788388aa6d..0f5dae37e752f172ec98759c443dffe3c2db5dfb 100644 (file)
@@ -54,7 +54,7 @@ private:
  *      from refcounted)
  *    T* T::duplicate() member function (only if makewriteable() is used) */
 template <class T> class ptr {
-       friend class std::less<ptr<T>>;
+       friend struct std::less<ptr<T>>;
 
        // NB: This implementation of reference counting is not thread-safe.
        // The reference counter needs to be incremented/decremented atomically,