Fix style guide errors

This commit is contained in:
Aaron Po
2026-04-11 23:43:35 -04:00
parent 56ec728ba7
commit 823599a96f
8 changed files with 30 additions and 28 deletions

View File

@@ -13,10 +13,10 @@
*/
struct BreweryResult {
/// @brief Brewery display name.
std::string name;
std::string name{};
/// @brief Brewery description text.
std::string description;
std::string description{};
};
#endif // BIERGARTEN_PIPELINE_INCLUDES_DATA_MODEL_BREWERY_RESULT_H_

View File

@@ -15,7 +15,7 @@
*/
struct EnrichedCity {
Location location;
std::string region_context;
std::string region_context{};
};
#endif // BIERGARTEN_PIPELINE_INCLUDES_DATA_MODEL_ENRICHED_CITY_H_

View File

@@ -13,25 +13,25 @@
*/
struct Location {
/// @brief City name.
std::string city;
std::string city{};
/// @brief State or province name.
std::string state_province;
std::string state_province{};
/// @brief ISO 3166-2 subdivision code.
std::string iso3166_2;
std::string iso3166_2{};
/// @brief Country name.
std::string country;
std::string country{};
/// @brief ISO 3166-1 country code.
std::string iso3166_1;
std::string iso3166_1{};
/// @brief Latitude in decimal degrees.
double latitude;
double latitude{};
/// @brief Longitude in decimal degrees.
double longitude;
double longitude{};
};
#endif // BIERGARTEN_PIPELINE_INCLUDES_DATA_MODEL_LOCATION_H_

View File

@@ -13,10 +13,10 @@
*/
struct UserResult {
/// @brief Username handle.
std::string username;
std::string username{};
/// @brief Short user biography.
std::string bio;
std::string bio{};
};
#endif // BIERGARTEN_PIPELINE_INCLUDES_DATA_MODEL_USER_RESULT_H_