From 8ace57bbeff244bade16e8c8bbab7bb5d4501d24 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 26 Jan 2017 17:30:28 -0500 Subject: [PATCH] Context: Code cleanup --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context.cpp b/src/Context.cpp index 539894191..27a1ec42f 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -809,7 +809,7 @@ void Context::updateXtermTitle () { if (config.getBoolean ("xterm.title") && isatty (STDOUT_FILENO)) { - std::string command = cli2.getCommand (); + auto command = cli2.getCommand (); std::string title; for (auto a = cli2._args.begin (); a != cli2._args.end (); ++a)