CLI2: Prevent loops

- Context was sometimes causing looping:

    ::analyze -> ::addContexFilter -> ::addFilter -> ::analyze

  This is prevented by a simple latch.
This commit is contained in:
Paul Beckingham
2015-09-06 01:42:30 -04:00
parent 7da3f3b2ba
commit 3897c23c8d
2 changed files with 8 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ public:
std::vector <std::pair <std::string, std::string>> _id_ranges;
std::vector <std::string> _uuid_list;
bool _context_filter_added;
};
#endif