aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-11-04 09:09:24 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-11-04 09:09:24 -0800
commit9beccc6024dc85f7ccd71377a7a301952a312021 (patch)
treebf2ad05585531d220f4cf45b72999873f915f998 /src/cpp
parenta147aee75a37249b4f19c5d47204fdd6779bbd82 (diff)
parent187c4b36d9fd0b2c888b9a2850698346553f47a6 (diff)
Merge github.com:grpc/grpc into new_op
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/util/string_ref.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/util/string_ref.cc b/src/cpp/util/string_ref.cc
index 604134fa9d..66c79a1818 100644
--- a/src/cpp/util/string_ref.cc
+++ b/src/cpp/util/string_ref.cc
@@ -40,7 +40,7 @@
namespace grpc {
-const size_t string_ref::npos;
+const size_t string_ref::npos = size_t(-1);
string_ref& string_ref::operator=(const string_ref& rhs) {
data_ = rhs.data_;