mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove unused and un-needed function.
This commit is contained in:
parent
1eef796f09
commit
41e59df71f
@ -82,7 +82,6 @@ public:
|
||||
func(section);
|
||||
}
|
||||
size_t num_sections() const noexcept { return m_sections.size(); }
|
||||
void save_to_book(QofBook* book, bool do_clear) const;
|
||||
bool get_changed() const noexcept { return m_dirty; }
|
||||
void register_option(const char* section, GncOption&& option);
|
||||
void unregister_option(const char* section, const char* name);
|
||||
|
@ -82,11 +82,6 @@ GncOptionDB::GncOptionDB() : m_default_section{} {}
|
||||
|
||||
GncOptionDB::GncOptionDB(QofBook* book) : GncOptionDB() {}
|
||||
|
||||
void
|
||||
GncOptionDB::save_to_book(QofBook* book, bool do_clear) const
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
GncOptionDB::register_option(const char* sectname, GncOption&& option)
|
||||
{
|
||||
@ -1135,7 +1130,8 @@ void
|
||||
gnc_option_db_save(GncOptionDB* odb, QofBook* book,
|
||||
gboolean clear_options)
|
||||
{
|
||||
odb->save_to_book(book, static_cast<bool>(clear_options));
|
||||
odb->save_to_kvp(book, static_cast<bool>(clear_options));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user