From 93343f3ffb267f2a8b4d29a4f9972e5c9891bc08 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 6 Dec 2020 07:14:05 +1000 Subject: [PATCH] analyse: move arg enum closer to usage site --- tools/analyse.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/analyse.cpp b/tools/analyse.cpp index 67fbbf2..9eb3cbf 100644 --- a/tools/analyse.cpp +++ b/tools/analyse.cpp @@ -19,18 +19,6 @@ /////////////////////////////////////////////////////////////////////////////// -enum { - ARG_SELF, - ARG_BITS, - ARG_WINDOW, - ARGS_MINIMUM, - ARGS_INPUT, - - NUM_ARGS, -}; - - -//----------------------------------------------------------------------------- static std::strong_ordering region_ordering ( @@ -65,6 +53,18 @@ static bool region_equal (emory::chunk::region const &a, emory::chunk::region co //} +/////////////////////////////////////////////////////////////////////////////// +enum { + ARG_SELF, + ARG_BITS, + ARG_WINDOW, + ARGS_MINIMUM, + ARGS_INPUT, + + NUM_ARGS, +}; + + //----------------------------------------------------------------------------- int main (int argc, char const **argv) {