~ubuntu-branches/debian/stretch/protobuf/stretch

« back to all changes in this revision

Viewing changes to src/google/protobuf/generated_message_util.cc

  • Committer: Package Import Robot
  • Author(s): Robert S. Edmonds
  • Date: 2014-09-11 22:50:10 UTC
  • mfrom: (10.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20140911225010-wt4yo9dpc1fzuq5g
Tags: 2.6.0-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
#include <limits>
38
38
 
 
39
 
39
40
namespace google {
40
41
namespace protobuf {
41
42
namespace internal {
47
48
  return std::numeric_limits<double>::quiet_NaN();
48
49
}
49
50
 
50
 
const ::std::string kEmptyString;
 
51
const ::std::string* empty_string_;
 
52
GOOGLE_PROTOBUF_DECLARE_ONCE(empty_string_once_init_);
 
53
 
 
54
void InitEmptyString() {
 
55
  empty_string_ = new string;
 
56
}
 
57
 
51
58
 
52
59
}  // namespace internal
53
60
}  // namespace protobuf