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 ?