From ed9132427a57cac194f02dae4938ba45324323c6 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 4 Nov 2016 16:31:30 -0700 Subject: Get user agent right --- include/grpc++/grpc++.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/grpc++/grpc++.h b/include/grpc++/grpc++.h index afb1c555bb..ce355e492d 100644 --- a/include/grpc++/grpc++.h +++ b/include/grpc++/grpc++.h @@ -67,4 +67,8 @@ #include // IWYU pragma: end_exports +namespace grpc { +std::string Version(); +} // namespace grpc + #endif // GRPCXX_GRPCXX_H -- cgit v1.2.3 From 1cb088441a366f7ed06a8ea06dcb49bde9e1f8b7 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 8 Nov 2016 07:05:33 -0800 Subject: s/std::string/grpc::string/g --- include/grpc++/grpc++.h | 2 +- templates/src/cpp/common/version_cc.cc.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/grpc++/grpc++.h b/include/grpc++/grpc++.h index ce355e492d..36d65d6ee1 100644 --- a/include/grpc++/grpc++.h +++ b/include/grpc++/grpc++.h @@ -68,7 +68,7 @@ // IWYU pragma: end_exports namespace grpc { -std::string Version(); +grpc::string Version(); } // namespace grpc #endif // GRPCXX_GRPCXX_H diff --git a/templates/src/cpp/common/version_cc.cc.template b/templates/src/cpp/common/version_cc.cc.template index 60f0b3bb51..d14e974f56 100644 --- a/templates/src/cpp/common/version_cc.cc.template +++ b/templates/src/cpp/common/version_cc.cc.template @@ -39,5 +39,5 @@ #include namespace grpc { - std::string Version() { return "${settings.cpp_version}"; } + grpc::string Version() { return "${settings.cpp_version}"; } } -- cgit v1.2.3