From cde34e0b5d3f699405587f5f847b05d1b90ca5a9 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 3 Feb 2015 10:51:24 -0800 Subject: [PATCH] change stringstream to ostringstream. --- examples/tips/publisher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tips/publisher.cc b/examples/tips/publisher.cc index 085e6c5b6f8..eae8731139c 100644 --- a/examples/tips/publisher.cc +++ b/examples/tips/publisher.cc @@ -73,7 +73,7 @@ Status Publisher::ListTopics(const grpc::string& project_id, ListTopicsResponse response; ClientContext context; - std::stringstream ss; + std::ostringstream ss; ss << "cloud.googleapis.com/project in (/projects/" << project_id << ")"; request.set_query(ss.str());