mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Replace empty constructors with default constructors #88
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
K m_key;
|
||||
V m_value;
|
||||
|
||||
CUtlKeyValuePair() {}
|
||||
CUtlKeyValuePair() = default;
|
||||
|
||||
template < typename KInit >
|
||||
explicit CUtlKeyValuePair( const KInit &k ) : m_key( k ) {}
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
typedef const K ValueReturn_t;
|
||||
K m_key;
|
||||
|
||||
CUtlKeyValuePair() {}
|
||||
CUtlKeyValuePair() = default;
|
||||
|
||||
template < typename KInit >
|
||||
explicit CUtlKeyValuePair( const KInit &k ) : m_key( k ) {}
|
||||
|
||||
Reference in New Issue
Block a user