mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
replace a few old-school constructors for a 0.5% reduction in code size
don't waste those 128 KB!
This commit is contained in:
parent
a3eb2ff58d
commit
ef58376c14
6 changed files with 15 additions and 21 deletions
|
@ -56,10 +56,9 @@ template<typename Key, typename Value>
|
|||
class obj_map {
|
||||
public:
|
||||
struct key_data {
|
||||
Key * m_key;
|
||||
Key * m_key = nullptr;
|
||||
Value m_value;
|
||||
key_data():m_key(nullptr), m_value() {
|
||||
}
|
||||
key_data() = default;
|
||||
key_data(Key * k):
|
||||
m_key(k), m_value() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue