Gui: Update MSVC legacy code comments from ViewProviderLink.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -41,7 +41,7 @@ class LinkInfo;
|
||||
using LinkInfoPtr = boost::intrusive_ptr<LinkInfo>;
|
||||
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user