1 2 3 4 5 6 7 8 9 10 11 12
#include "BoolMatchEngine.hpp" #include "../../../helpers/MiscFunctions.hpp" using namespace Desktop::Rule; CBoolMatchEngine::CBoolMatchEngine(const std::string& s) : m_value(truthy(s)) { ; } bool CBoolMatchEngine::match(bool other) { return other == m_value; }