mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Remove unused methods.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2002-10-13 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* src/options.h (Options::operator=, Options::operator!=): Remove
|
||||
unused methods.
|
||||
* src/options.icc (Options::operator=, Options::operator!=): Remove.
|
||||
|
||||
* src/*.h: Prefix all field names with _.
|
||||
* src/*.cc, src/*.icc: Update.
|
||||
|
||||
|
||||
@@ -83,8 +83,6 @@ public:
|
||||
~Options ();
|
||||
int operator[] (Option_Type option);
|
||||
void operator() (int argc, char *argv[]);
|
||||
void operator= (enum Option_Type);
|
||||
void operator!= (enum Option_Type);
|
||||
static void print_options ();
|
||||
static void set_asso_max (int r);
|
||||
static int get_asso_max ();
|
||||
|
||||
@@ -26,20 +26,6 @@ Options::operator[] (Option_Type option)
|
||||
return _option_word & option;
|
||||
}
|
||||
|
||||
/* Enables option OPT. */
|
||||
INLINE void
|
||||
Options::operator = (enum Option_Type opt)
|
||||
{
|
||||
_option_word |= opt;
|
||||
}
|
||||
|
||||
/* Disables option OPT. */
|
||||
INLINE void
|
||||
Options::operator != (enum Option_Type opt)
|
||||
{
|
||||
_option_word &= ~opt;
|
||||
}
|
||||
|
||||
/* Initializes the key Iterator. */
|
||||
INLINE void
|
||||
Options::reset ()
|
||||
|
||||
Reference in New Issue
Block a user