2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 14:35:29 +00:00

[#1292] minor changes

This commit is contained in:
Razvan Becheriu
2020-08-05 10:17:46 +03:00
committed by Francis Dupont
parent 864849be5f
commit dec8595d2f

View File

@@ -14,7 +14,7 @@ namespace test {
/// @brief A RAII class which disables the multi threading on exit of scope. /// @brief A RAII class which disables the multi threading on exit of scope.
/// ///
/// Usually the multi threading is disabled by the fixture destructor ot /// Usually the multi threading is disabled by the fixture destructor or
/// TearDown but of course this works only when a fixture class is used. /// TearDown but of course this works only when a fixture class is used.
class MultiThreadingTest { class MultiThreadingTest {
public: public:
@@ -25,7 +25,7 @@ public:
MultiThreadingTest(bool mode = true) { MultiThreadingTest(bool mode = true) {
isc::util::MultiThreadingMgr::instance().setMode(mode); isc::util::MultiThreadingMgr::instance().setMode(mode);
} }
/// @brief Destructor (disable multi threading). /// @brief Destructor (disable multi threading).
~MultiThreadingTest() { ~MultiThreadingTest() {
isc::util::MultiThreadingMgr::instance().setMode(false); isc::util::MultiThreadingMgr::instance().setMode(false);