Merge pull request #289 from GullCode/ertkey_warning_fix

Added missing default constructor
This commit is contained in:
Erwin Ried 2021-01-28 00:18:31 +01:00 committed by GitHub
commit 282416169d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,8 @@ struct ERTKey {
{
}
ERTKey( const ERTKey& other ) = default;
ERTKey& operator=(const ERTKey& other) {
id = other.id;
commodity_type = other.commodity_type;