diff options
author | robot-piglet <[email protected]> | 2023-11-24 16:51:45 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2023-11-24 17:29:10 +0300 |
commit | 41c83558b1e44f274cefb628a4726d0658f72878 (patch) | |
tree | bac1d9313a661f8d6459fcc571dfdc0d64ca5850 | |
parent | e1cb6168fb4a6a04716240f41e65465ece3deec5 (diff) |
Intermediate changes
-rw-r--r-- | yt/yql/plugin/bridge/plugin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/yt/yql/plugin/bridge/plugin.cpp b/yt/yql/plugin/bridge/plugin.cpp index 0bc72592cf3..77641a41bf9 100644 --- a/yt/yql/plugin/bridge/plugin.cpp +++ b/yt/yql/plugin/bridge/plugin.cpp @@ -27,7 +27,7 @@ std::optional<TString> ToString(const char* str, size_t strLength) //////////////////////////////////////////////////////////////////////////////// -const auto RequiredAbiVersion = 0; +constexpr auto RequiredAbiVersion = 0; //////////////////////////////////////////////////////////////////////////////// @@ -44,7 +44,10 @@ public: #undef XX if (RequiredAbiVersion != BridgeGetAbiVersion()) { - THROW_ERROR_EXCEPTION("YQL plugin ABI version mismatch; expected version %v, actual version %v", RequiredAbiVersion, BridgeGetAbiVersion()); + THROW_ERROR_EXCEPTION( + "YQL plugin ABI version mismatch; expected version %v, actual version %v", + RequiredAbiVersion, + BridgeGetAbiVersion()); } } |