From e42d8636f3aa15e0ea8f723133914d6dba22009c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 30 Aug 2018 19:28:02 -0400 Subject: Whitespace changes --- src/configuration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/configuration.cpp') diff --git a/src/configuration.cpp b/src/configuration.cpp index 0010a40..ed0ba8c 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -4,18 +4,18 @@ #include "codes.h" namespace twitter { - + configuration::configuration(std::string data) try { auto json_data = nlohmann::json::parse(data); - + _characters_reserved_per_media = json_data["characters_reserved_per_media"].get(); _dm_text_character_limit = json_data["dm_text_character_limit"].get(); _max_media_per_upload = json_data["max_media_per_upload"].get(); _photo_size_limit = json_data["photo_size_limit"].get(); _short_url_length = json_data["short_url_length"].get(); _short_https_url_length = json_data["short_url_length_https"].get(); - + for (auto sizedata = std::begin(json_data["photo_sizes"]); sizedata != std::end(json_data["photo_sizes"]); ++sizedata) { photosize size; @@ -27,10 +27,10 @@ namespace twitter { } else { size.resize = resizetype::crop; } - + _photo_sizes[sizedata.key()] = size; } - + for (auto path : json_data["non_username_paths"]) { _non_username_paths.insert(path.get()); -- cgit 1.4.1