~verterok/ubuntu/lucid/protobuf/2.4.0a-backport

« back to all changes in this revision

Viewing changes to src/google/protobuf/compiler/cpp/cpp_enum_field.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-05-31 14:41:47 UTC
  • mfrom: (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110531144147-s41g5fozgvyo462l
Tags: 2.4.0a-2ubuntu1
* Merge with Debian; remaining changes:
  - Fix linking with -lpthread.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
    "}\n"
86
86
    "inline void $classname$::set_$name$($type$ value) {\n"
87
87
    "  GOOGLE_DCHECK($type$_IsValid(value));\n"
88
 
    "  _set_bit($index$);\n"
 
88
    "  set_has_$name$();\n"
89
89
    "  $name$_ = value;\n"
90
90
    "}\n");
91
91
}