From 6b11be8c6921d3b8948f5521f6daa70806cc9471 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 4 Feb 2019 23:21:11 +0000 Subject: [PATCH] Mark apropriate methods protected in ConstantOptimiser --- libevmasm/ConstantOptimiser.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libevmasm/ConstantOptimiser.h b/libevmasm/ConstantOptimiser.h index 181f9351e..bd87c4dce 100644 --- a/libevmasm/ConstantOptimiser.h +++ b/libevmasm/ConstantOptimiser.h @@ -56,6 +56,9 @@ public: Assembly& _assembly ); +protected: + /// This is the public API for the optimiser methods, but it doesn't need to be exposed to the caller. + struct Params { bool isCreation; ///< Whether this is called during contract creation or runtime.