Skip to content
Snippets Groups Projects
Commit cde34e0b authored by Chen Wang's avatar Chen Wang
Browse files

change stringstream to ostringstream.

parent 405392c2
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ Status Publisher::ListTopics(const grpc::string& project_id, ...@@ -73,7 +73,7 @@ Status Publisher::ListTopics(const grpc::string& project_id,
ListTopicsResponse response; ListTopicsResponse response;
ClientContext context; ClientContext context;
std::stringstream ss; std::ostringstream ss;
ss << "cloud.googleapis.com/project in (/projects/" << project_id << ")"; ss << "cloud.googleapis.com/project in (/projects/" << project_id << ")";
request.set_query(ss.str()); request.set_query(ss.str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment