mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove GncOptionDateValue::set_default_value(size_t)
Because it's ambiguous with set_default_value(time64).
This commit is contained in:
parent
7d0cdf7c94
commit
418eb06620
@ -131,15 +131,6 @@ GncOptionDateValue::set_value(size_t index) noexcept
|
|||||||
m_period = m_period_set[index];
|
m_period = m_period_set[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
GncOptionDateValue::set_default_value(size_t index) noexcept
|
|
||||||
{
|
|
||||||
assert(!m_period_set.empty());
|
|
||||||
assert(index < m_period_set.size());
|
|
||||||
m_date = m_default_date = INT64_MAX;
|
|
||||||
m_period = m_default_period = m_period_set[index];
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
GncOptionDateValue::permissible_value_index(const char* key) const noexcept
|
GncOptionDateValue::permissible_value_index(const char* key) const noexcept
|
||||||
{
|
{
|
||||||
|
@ -1108,7 +1108,6 @@ public:
|
|||||||
m_date = m_default_date = time;
|
m_date = m_default_date = time;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void set_default_value(size_t index) noexcept;
|
|
||||||
std::size_t num_permissible_values() const noexcept
|
std::size_t num_permissible_values() const noexcept
|
||||||
{
|
{
|
||||||
return m_period_set.size();
|
return m_period_set.size();
|
||||||
|
Loading…
Reference in New Issue
Block a user