This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 2d056801a5 fix(examples/cpp): display the results to standard output.
(#4040)
2d056801a5 is described below
commit 2d056801a54873592890801efcb6223197a26e48
Author: Jason <[email protected]>
AuthorDate: Sun Jan 21 22:21:38 2024 +0800
fix(examples/cpp): display the results to standard output. (#4040)
---
examples/cpp/basic.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/cpp/basic.cpp b/examples/cpp/basic.cpp
index 2ebb1504f9..1652e26705 100644
--- a/examples/cpp/basic.cpp
+++ b/examples/cpp/basic.cpp
@@ -22,4 +22,5 @@ int main() {
opendal::ReaderStream stream(reader);
std::string res2;
stream >> res2; // res2 == "abc"
+ std::cout<<res2<<std::endl;
}
\ No newline at end of file