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