cpp version back to c++17

This commit is contained in:
2025-02-07 22:03:14 +01:00
parent 51d7c8f66d
commit 5e89531508
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ class MessageImplFieldsReadBase : public TBase {
protected:
void ReadImpl(DataBuffer& buffer) override {
auto& allFields = this->GetFields();
std::apply([&buffer, this]<typename T>(T& field) {
std::apply([&buffer, this](auto& field) {
this->ReadData(field.GetValue(), buffer);
}, allFields);
}
@@ -133,7 +133,7 @@ class MessageImplFieldsWriteBase : public TBase {
protected:
void WriteImpl(DataBuffer& buffer) override {
auto& allFields = this->GetFields();
std::apply([&buffer, this]<typename T>(T& field) {
std::apply([&buffer, this](auto& field) {
this->WriteData(field.GetValue(), buffer);
}, allFields);
}