diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2015-09-01 16:18:57 +0300 |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2015-09-01 16:18:57 +0300 |
commit | dc90c13bec469fcbc69fc12db487c07ed94f649d (patch) | |
tree | b0730447fea02aacb3e0ed5b092cfa388efaa7df /src/cpp | |
parent | 924b67da5e3d72651d62e2ac5b77600fd6b50b93 (diff) |
Move static value grpc::string_ref::npos definition to cc file
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/util/string_ref.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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_; |