File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
google/cloud/storage/examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ void CreateAndWriteAppendableObject(
717717 gcs_ex::BucketName (std::move (bucket_name)),
718718 std::move (object_name)))
719719 .value ();
720- std::cout << " Appendable upload started for object " << object_name " \n " ;
720+ std::cout << " Appendable upload started for object " << object_name << " \n " ;
721721
722722 token = (co_await writer.Write (std::move (token),
723723 gcs_ex::WritePayload (" Some data\n " )))
@@ -882,7 +882,7 @@ void ReadAppendableObjectTail(
882882 bytes_read += buffer.size ();
883883 }
884884 // In a real application you would wait here, e.g. with a timer.
885- co_await google::cloud ::sleep_for (std::chrono::seconds (1 ));
885+ std::this_thread ::sleep_for (std::chrono::seconds (1 ));
886886 }
887887 };
888888 // [END storage_read_appendable_object_tail]
You can’t perform that action at this time.
0 commit comments