Skip to content
Snippets Groups Projects
Commit e9c667af authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-476: Eliminate std::mem_fun1() special case for Windows.

We used to have to use #if LL_WINDOWS logic to pass std::mem_fun1() to
llbind2nd() instead of std::mem_fun() elsewhere. VS 2017 no longer supports
std::mem_fun1(), which means we can eliminate the special case for Windows.
parent f71c71fe
No related branches found
No related tags found
No related merge requests found
...@@ -573,11 +573,7 @@ void LLFloaterRegionInfo::refreshFromRegion(LLViewerRegion* region) ...@@ -573,11 +573,7 @@ void LLFloaterRegionInfo::refreshFromRegion(LLViewerRegion* region)
mInfoPanels.begin(), mInfoPanels.begin(),
mInfoPanels.end(), mInfoPanels.end(),
llbind2nd( llbind2nd(
#if LL_WINDOWS
std::mem_fun1(&LLPanelRegionInfo::refreshFromRegion),
#else
std::mem_fun(&LLPanelRegionInfo::refreshFromRegion), std::mem_fun(&LLPanelRegionInfo::refreshFromRegion),
#endif
region)); region));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment