aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-04-10 11:58:44 -0700
committerGravatar yang-g <yangg@google.com>2017-04-11 16:07:24 -0700
commiteceec8eaf6f38766364b203e92ccb6b25028b89b (patch)
treeea4ac7e2be25b00bb9c381a4dfbf450547d8b598 /include/grpc++/impl
parent380c3a7e1e801cf5a24164a518dc59d6c431f5db (diff)
Add helper function to supply and parse error_details from Status.
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r--include/grpc++/impl/codegen/status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/status.h b/include/grpc++/impl/codegen/status.h
index 5cce3c1672..31fd6cdbe7 100644
--- a/include/grpc++/impl/codegen/status.h
+++ b/include/grpc++/impl/codegen/status.h
@@ -53,7 +53,7 @@ class Status {
/// Construct an instance with \a code, \a error_message and \a error_details
Status(StatusCode code, const grpc::string& error_message,
- const grpc::string error_details)
+ const grpc::string& error_details)
: code_(code),
error_message_(error_message),
binary_error_details_(error_details) {}