diff --git a/repertory/repertory_test/include/fixtures/drive_fixture.hpp b/repertory/repertory_test/include/fixtures/drive_fixture.hpp index f795dc0f..10c736f7 100644 --- a/repertory/repertory_test/include/fixtures/drive_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/drive_fixture.hpp @@ -339,7 +339,12 @@ protected: #endif // defined(_WIN32) auto cfg_dir2 = make_cfg_dir(test_dir, "cfg2"); +#if defined(_WIN32) + auto config2 = + std::make_unique(provider_type::remote, cfg_dir2); +#else // !defined(_WIN32) config2 = std::make_unique(provider_type::remote, cfg_dir2); +#endif // defined(_WIN32) config2->set_enable_drive_events(true); config2->set_event_level(event_level::trace); #if !defined(_WIN32)