Loading system/gd/packet/parser/fields/array_field.cc +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ std::string ArrayField::GetGetterFunctionName() const { } void ArrayField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { s << GetDataType() << " " << GetGetterFunctionName() << "() {"; s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; s << "ASSERT(was_validated_);"; s << "size_t end_index = size();"; s << "auto to_bound = begin();"; Loading system/gd/packet/parser/fields/vector_field.cc +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ std::string VectorField::GetGetterFunctionName() const { } void VectorField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { s << GetDataType() << " " << GetGetterFunctionName() << "() {"; s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; s << "ASSERT(was_validated_);"; s << "size_t end_index = size();"; s << "auto to_bound = begin();"; Loading system/gd/packet/parser/packet_def.cc +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ void PacketDef::GenValidator(std::ostream& s) const { } void PacketDef::GenParserToString(std::ostream& s) const { s << "virtual std::string ToString() " << (parent_ != nullptr ? " override" : "") << " {"; s << "virtual std::string ToString() const " << (parent_ != nullptr ? " override" : "") << " {"; s << "std::stringstream ss;"; s << "ss << std::showbase << std::hex << \"" << name_ << " { \";"; Loading system/gd/packet/parser/struct_def.cc +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ void StructDef::GenSpecialize(std::ostream& s) const { } void StructDef::GenToString(std::ostream& s) const { s << "std::string ToString() {"; s << "std::string ToString() const {"; s << "std::stringstream ss;"; s << "ss << std::hex << std::showbase << \"" << name_ << " { \";"; Loading Loading
system/gd/packet/parser/fields/array_field.cc +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ std::string ArrayField::GetGetterFunctionName() const { } void ArrayField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { s << GetDataType() << " " << GetGetterFunctionName() << "() {"; s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; s << "ASSERT(was_validated_);"; s << "size_t end_index = size();"; s << "auto to_bound = begin();"; Loading
system/gd/packet/parser/fields/vector_field.cc +1 −1 Original line number Diff line number Diff line Loading @@ -151,7 +151,7 @@ std::string VectorField::GetGetterFunctionName() const { } void VectorField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { s << GetDataType() << " " << GetGetterFunctionName() << "() {"; s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; s << "ASSERT(was_validated_);"; s << "size_t end_index = size();"; s << "auto to_bound = begin();"; Loading
system/gd/packet/parser/packet_def.cc +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ void PacketDef::GenValidator(std::ostream& s) const { } void PacketDef::GenParserToString(std::ostream& s) const { s << "virtual std::string ToString() " << (parent_ != nullptr ? " override" : "") << " {"; s << "virtual std::string ToString() const " << (parent_ != nullptr ? " override" : "") << " {"; s << "std::stringstream ss;"; s << "ss << std::showbase << std::hex << \"" << name_ << " { \";"; Loading
system/gd/packet/parser/struct_def.cc +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ void StructDef::GenSpecialize(std::ostream& s) const { } void StructDef::GenToString(std::ostream& s) const { s << "std::string ToString() {"; s << "std::string ToString() const {"; s << "std::stringstream ss;"; s << "ss << std::hex << std::showbase << \"" << name_ << " { \";"; Loading