From 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:35 +0300 Subject: Add missing const in gui directory. --- src/gui/widgets/browserbox_unittest.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/browserbox_unittest.cc') diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index 9fe75dda5..1bae1f294 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -43,7 +43,10 @@ TEST_CASE("BrowserBox tests", "browserbox") theme = new Theme; Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/" "ttf-dejavu/DejaVuSans-Oblique.ttf", 18)); - BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP, true, ""); + BrowserBox *const box = new BrowserBox(nullptr, + BrowserBox::AUTO_WRAP, + true, + ""); box->setWidth(100); std::string row = "test"; box->addRow(row); -- cgit v1.2.3-70-g09d2