From 34e525766bc24e4aac9e78f4b5e15cee3c8d4c2e Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 8 Nov 2018 14:57:42 +0100 Subject: [PATCH] Fix of friend declaration on a template parameter, according to C++11 --- src/libslic3r/PrintBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintBase.hpp b/src/libslic3r/PrintBase.hpp index 47a849e84..52e5c8989 100644 --- a/src/libslic3r/PrintBase.hpp +++ b/src/libslic3r/PrintBase.hpp @@ -285,7 +285,7 @@ protected: bool invalidate_all_steps() { return m_state.invalidate_all(PrintObjectBase::cancel_mutex(m_print), PrintObjectBase::cancel_callback(m_print)); } protected: - friend typename PrintType; + friend PrintType; PrintType *m_print; private: