From d9ccf8d1ee154e6576cafa2aafb2d66d4f7421f7 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 2 Apr 2024 13:40:42 +0200 Subject: tools,nix: Setting up build example env for cli modification --- modules/tools/c++/cli_analyzer.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules/tools/c++/cli_analyzer.hpp') diff --git a/modules/tools/c++/cli_analyzer.hpp b/modules/tools/c++/cli_analyzer.hpp index 402f03c..a1dc731 100644 --- a/modules/tools/c++/cli_analyzer.hpp +++ b/modules/tools/c++/cli_analyzer.hpp @@ -22,10 +22,10 @@ struct cli_modifier { codec encoded; error_or read( - std::deque& sch_path, - data& enc_data, - std::string& json_data_str - ){ + std::deque& sch_path, + data& enc_data, + std::string& json_data_str + ){ data native; if constexpr ( std::is_same_v ){ auto eov = encoded.decode(enc_data, native); @@ -162,8 +162,7 @@ int modify_data_on_cli(bool read_mode, const std::string& file_path, std::deque< * Read data from file */ - - data data; + data data; data native_data; if (read_mode) { -- cgit v1.2.3