From 3e7c32308642d236d8770e2970d84d152d67373e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 24 Apr 2014 12:33:09 -0400 Subject: [PATCH] A3 - Removed obsolete A3::extract_words method. --- src/A3.cpp | 21 --------------------- src/A3.h | 1 - 2 files changed, 22 deletions(-) diff --git a/src/A3.cpp b/src/A3.cpp index 6a886ca46..74afb11b9 100644 --- a/src/A3.cpp +++ b/src/A3.cpp @@ -609,27 +609,6 @@ const A3 A3::extract_modifications () const return mods; } -//////////////////////////////////////////////////////////////////////////////// -const std::vector A3::extract_words () const -{ - std::vector words; - std::vector ::const_iterator arg; - for (arg = this->begin (); arg != this->end (); ++arg) - { - if (arg->_category == Arg::cat_program || - arg->_category == Arg::cat_rc || - arg->_category == Arg::cat_override || - arg->_category == Arg::cat_command || - arg->_category == Arg::cat_terminator) - ; - - else - words.push_back (arg->_raw); - } - - return words; -} - //////////////////////////////////////////////////////////////////////////////// const A3 A3::tokenize (const A3& input) const { diff --git a/src/A3.h b/src/A3.h index 58ad45fc6..e5c572fca 100644 --- a/src/A3.h +++ b/src/A3.h @@ -62,7 +62,6 @@ public: const A3 extract_filter () const; const A3 extract_modifications () const; - const std::vector extract_words () const; const A3 tokenize (const A3&) const; const A3 infix (const A3&) const;