summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-11-29 23:27:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-11-29 23:27:24 +0300
commit2de6716d264241b247a353c837841cbfdb05f066 (patch)
treeef137df06106e07c01a7c80503cba6103fe356a5
parent5f4ed1c5c3a0371ed4e848f98aac596c8fe6221f (diff)
downloadmanaverse-2de6716d264241b247a353c837841cbfdb05f066.tar.gz
manaverse-2de6716d264241b247a353c837841cbfdb05f066.tar.bz2
manaverse-2de6716d264241b247a353c837841cbfdb05f066.tar.xz
manaverse-2de6716d264241b247a353c837841cbfdb05f066.zip
Add comment for ingore variable copy in clang-tidy.
-rw-r--r--src/gui/windows/helpwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index 1cfb30e2b..44203d46d 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -112,7 +112,7 @@ void HelpWindow::handleLink(const std::string &link,
if (!strStartWith(link, "http://") && !strStartWith(link, "https://"))
{
// need use separate variable
- const std::string helpFile = link;
+ const std::string helpFile = link; // NOLINT
loadHelp(helpFile);
}
else