File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -939,14 +939,14 @@ namespace twitter_tests {
939
939
*/
940
940
uint64_t id_val = image[" id" ].get_uint64 ();
941
941
std::cout << " id = " <<id_val << std::endl;
942
- auto id_string = std::string_view (image[" id_str" ]. value () );
942
+ auto id_string = std::string_view (image[" id_str" ]);
943
943
std::cout << " id_string = " << id_string << std::endl;
944
944
auto sizes = image[" sizes" ].get_object ();
945
945
for (auto size : sizes) {
946
946
/* *
947
947
* We want to know the key that describes the size.
948
948
*/
949
- std::string_view raw_size_key_v = size.unescaped_key (). value () ;
949
+ std::string_view raw_size_key_v = size.unescaped_key ();
950
950
std::cout << " Type of image size = " << raw_size_key_v << std::endl;
951
951
ondemand::object size_value = size.value ();
952
952
int64_t width = size_value[" w" ];
You can’t perform that action at this time.
0 commit comments