Less verbose initializer syntax

This commit is contained in:
Eric Fischer
2017-11-07 15:25:54 -08:00
parent ba62ab8596
commit 4f974b3dc6
5 changed files with 19 additions and 19 deletions
+4 -4
View File
@@ -57,14 +57,14 @@ struct serial_feature {
long long extent = 0;
size_t m = 0;
std::vector<long long> keys = std::vector<long long>();
std::vector<long long> values = std::vector<long long>();
std::vector<long long> keys{};
std::vector<long long> values{};
long long metapos = 0;
// XXX This isn't serialized. Should it be here?
long long bbox[4] = {0, 0, 0, 0};
std::vector<std::string> full_keys = std::vector<std::string>();
std::vector<serial_val> full_values = std::vector<serial_val>();
std::vector<std::string> full_keys{};
std::vector<serial_val> full_values{};
std::string layername = "";
};