From dc90c13bec469fcbc69fc12db487c07ed94f649d Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Tue, 1 Sep 2015 16:18:57 +0300 Subject: Move static value grpc::string_ref::npos definition to cc file --- src/cpp/util/string_ref.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpp/util') diff --git a/src/cpp/util/string_ref.cc b/src/cpp/util/string_ref.cc index 9adc092013..d12701f2c9 100644 --- a/src/cpp/util/string_ref.cc +++ b/src/cpp/util/string_ref.cc @@ -39,7 +39,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_; -- cgit v1.2.3