diff --git a/src/A3.cpp b/src/A3.cpp index e0a0ade8c..0daea2045 100644 --- a/src/A3.cpp +++ b/src/A3.cpp @@ -118,7 +118,6 @@ const int safetyValveDefault = 10; //////////////////////////////////////////////////////////////////////////////// A3::A3 () -: _read_only_command (true) { } @@ -126,15 +125,12 @@ A3::A3 () A3::A3 (const A3& other) { std::vector ::operator= (other); - _read_only_command = other._read_only_command; } //////////////////////////////////////////////////////////////////////////////// A3& A3::operator= (const A3& other) { std::vector ::operator= (other); - _read_only_command = other._read_only_command; - return *this; } @@ -237,7 +233,6 @@ void A3::categorize () { found_command = true; arg->_category = Arg::cat_command; - _read_only_command = context.commands[arg->_raw]->read_only (); } // rc: diff --git a/src/A3.h b/src/A3.h index 86c921f17..4db7a578e 100644 --- a/src/A3.h +++ b/src/A3.h @@ -94,9 +94,6 @@ public: static bool which_operator (const std::string&, char&, int&, char&); void dump (const std::string&) const; - -private: - bool _read_only_command; }; #endif