aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlen Whitney <glen@studioinfinity.org>2024-06-09 16:31:13 (GMT)
committerMathias Gumz <mgumz@users.noreply.github.com>2024-11-25 20:23:51 (GMT)
commit2f75cee3b7fa7bcb5c6ebf12258e6f7a41b83d6d (patch)
treec42de749fb39e9f701de3eb369b124249b293755 /src
parent823ca2e181df0c056875c4c901a37d86b60b4256 (diff)
downloadfluxbox-master.zip
fluxbox-master.tar.bz2
chore: update bind2nd -> bind in comments as wellHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 1339197..6acfb23 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -202,7 +202,7 @@ typedef FbTk::SimpleCommand<Fluxbox> FluxboxCmd;
202 }; 202 };
203 203
204 Bar bar; 204 Bar bar;
205 bind2nd(mem_fun(&F::foo), bar); 205 bind(mem_fn(&F::foo), _1, bar);
206 206
207 it complaints about not beeing able to store a reference to 207 it complaints about not beeing able to store a reference to
208 a reference (Bar&&). 208 a reference (Bar&&).
@@ -514,7 +514,7 @@ void Fluxbox::initScreen(BScreen *screen) {
514 // initiate atomhandler for screen specific stuff 514 // initiate atomhandler for screen specific stuff
515 STLUtil::forAll(m_atomhandler, 515 STLUtil::forAll(m_atomhandler,
516 CallMemFunWithRefArg<AtomHandler, BScreen&, void>(&AtomHandler::initForScreen, *screen)); 516 CallMemFunWithRefArg<AtomHandler, BScreen&, void>(&AtomHandler::initForScreen, *screen));
517 //STLUtil::forAll(m_atomhandler, bind2nd(mem_fn(&AtomHandler::initForScreen), *screen)); 517 //STLUtil::forAll(m_atomhandler, bind(mem_fn(&AtomHandler::initForScreen), _1, *screen));
518 518
519 FocusControl::revertFocus(*screen); // make sure focus style is correct 519 FocusControl::revertFocus(*screen); // make sure focus style is correct
520 520