~nabijaczleweli/klapki

14545957bfd24b4d17fabedc30659bd07189c5c7 — наб 1 year, 5 days ago 1fee319
please daddy gcc ive done nothing to deserve this
2 files changed, 6 insertions(+), 1 deletions(-)

M src/main.cpp
M src/state.hpp
M src/main.cpp => src/main.cpp +5 -0
@@ 59,6 59,7 @@ namespace klapki {

		auto context = context::context::derive(output_state);


		for(auto && op : cfg.ops) {
			if(cfg.verbose)
				fmt::print("Running {}\n", klapki::op{op});


@@ 66,6 67,10 @@ namespace klapki {
			TRY_OPT(4, klapki::op{op}, op::execute(op, cfg, output_state, context));
		}


		// TODO: reap


		TRY_OPT(5, "context.age()", context.age(cfg, output_state));
		if(cfg.verbose) {
			fmt::print("Aged:");

M src/state.hpp => src/state.hpp +1 -1
@@ 83,7 83,7 @@ namespace klapki::state {


		bool operator==(const stated_config & other) const noexcept;
		constexpr bool operator!=(const stated_config & other) const noexcept { return !(*this == other); }
		inline bool operator!=(const stated_config & other) const noexcept { return !(*this == other); }
	};

	struct state {