diff --git a/src/Gui/ViewProviderLink.cpp b/src/Gui/ViewProviderLink.cpp index 55bdedd656..0d749b9379 100644 --- a/src/Gui/ViewProviderLink.cpp +++ b/src/Gui/ViewProviderLink.cpp @@ -313,12 +313,8 @@ public: } } - // VC2013 has trouble with template argument dependent lookup in + // MSVC has trouble with template argument dependent lookup in // namespace. Have to put the below functions in global namespace. - // - // However, gcc seems to behave the opposite, hence the conditional - // compilation here. - // #if defined(_MSC_VER) friend void Gui::intrusive_ptr_add_ref(LinkInfo *px); friend void Gui::intrusive_ptr_release(LinkInfo *px); diff --git a/src/Gui/ViewProviderLink.h b/src/Gui/ViewProviderLink.h index 1d8f3e1b23..c61fb19420 100644 --- a/src/Gui/ViewProviderLink.h +++ b/src/Gui/ViewProviderLink.h @@ -41,7 +41,7 @@ class LinkInfo; using LinkInfoPtr = boost::intrusive_ptr; #if defined(_MSC_VER) -// forward declaration to please VC 2013 +// forward declaration to please MSVC void intrusive_ptr_add_ref(Gui::LinkInfo *px); void intrusive_ptr_release(Gui::LinkInfo *px); #endif