summaryrefslogtreecommitdiff
path: root/src/search_engine.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-11-03 00:59:52 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2014-11-03 00:59:52 +0100
commit24de827f8bf349442678704f4583e75bf8606a2d (patch)
tree20e959ea28f5d5806a72bcba547c4e49ee2394c5 /src/search_engine.cpp
parent202a21c4b3cdc57d2bb2acd905ec02fe4fc5e4fb (diff)
fix shadow warnings
Diffstat (limited to 'src/search_engine.cpp')
-rw-r--r--src/search_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search_engine.cpp b/src/search_engine.cpp
index e37abda3..4d65ffaf 100644
--- a/src/search_engine.cpp
+++ b/src/search_engine.cpp
@@ -155,7 +155,7 @@ void SearchEngine::enterPressed()
if (option < ConstraintsNumber)
{
- Statusbar::ScopedLock lock;
+ Statusbar::ScopedLock slock;
std::string constraint = ConstraintsNames[option];
Statusbar::put() << NC::Format::Bold << constraint << NC::Format::NoBold << ": ";
itsConstraints[option] = Global::wFooter->prompt(itsConstraints[option]);