From 110aa489e4f852266ff0da00a5b863152ba5aedf Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 17 Jul 2015 15:24:31 -0400 Subject: [PATCH] Context: Dead code removal --- src/Context.cpp | 10 ---------- src/Context.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index 640e18bf4..6232f4a73 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -585,16 +585,6 @@ const std::vector Context::getColumns () const return output; } -//////////////////////////////////////////////////////////////////////////////// -const std::vector Context::getCommands () const -{ - std::vector output; - for (auto& cmd : commands) - output.push_back (cmd.first); - - return output; -} - //////////////////////////////////////////////////////////////////////////////// // A value of zero mean unlimited. // A value of 'page' means however many screen lines there are. diff --git a/src/Context.h b/src/Context.h index a638db92f..155759d21 100644 --- a/src/Context.h +++ b/src/Context.h @@ -56,7 +56,6 @@ public: int getHeight (); // determine terminal height const std::vector getColumns () const; - const std::vector getCommands () const; void getLimits (int&, int&); bool color (); // TTY or ?