Prevent inline destructor of completion_t to reduce compiled code size a bit

This commit is contained in:
ridiculousfish 2013-04-16 15:01:24 -07:00
parent dd6d0e774c
commit ef8ea97044
2 changed files with 7 additions and 0 deletions

View File

@ -275,6 +275,10 @@ const wcstring &completion_entry_t::get_short_opt_str() const
return short_opt_str; return short_opt_str;
} }
completion_t::~completion_t()
{
}
/* completion_t functions */ /* completion_t functions */
completion_t::completion_t(const wcstring &comp, const wcstring &desc, int flags_val) : completion(comp), description(desc), flags(flags_val) completion_t::completion_t(const wcstring &comp, const wcstring &desc, int flags_val) : completion(comp), description(desc), flags(flags_val)
{ {

View File

@ -104,6 +104,9 @@ private:
completion_t(); completion_t();
public: public:
/* Destructor. Not inlining it saves code size. */
~completion_t();
/** /**
The completion string The completion string
*/ */