-class AFTER_CONNECTED_NOTIFIER : public PROPERTY_NOTIFIER_BASE<bool>,
- private NONCOPYABLE {
-public:
- AFTER_CONNECTED_NOTIFIER()
- : connects(0),
- disconnects(0)
- {}
- void Notify(const bool & oldValue, const bool & newValue);
-
- size_t GetConnects() const { return connects; }
- size_t GetDisconnects() const { return disconnects; }
-
-private:
- size_t connects;
- size_t disconnects;
-};
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wsign-compare"
+#pragma GCC diagnostic ignored "-Wparentheses"
+#include <boost/test/unit_test.hpp>
+#pragma GCC diagnostic pop
+
+volatile time_t stgTime = 0;