diff options
Diffstat (limited to 'tests/framework/shim/shim_common.cpp')
-rw-r--r-- | tests/framework/shim/shim_common.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/framework/shim/shim_common.cpp b/tests/framework/shim/shim_common.cpp index dd4c4bf8e..2c16a8a5b 100644 --- a/tests/framework/shim/shim_common.cpp +++ b/tests/framework/shim/shim_common.cpp @@ -106,8 +106,9 @@ void PlatformShim::reset() { void PlatformShim::set_path(ManifestCategory category, fs::path const& path) {} void PlatformShim::add_manifest(ManifestCategory category, fs::path const& path) { - if (category == ManifestCategory::implicit_layer) hkey_local_machine_implicit_layers.emplace_back(path.str()); - if (category == ManifestCategory::explicit_layer) + if (category == ManifestCategory::implicit_layer) + hkey_local_machine_implicit_layers.emplace_back(path.str()); + else if (category == ManifestCategory::explicit_layer) hkey_local_machine_explicit_layers.emplace_back(path.str()); else hkey_local_machine_drivers.emplace_back(path.str()); |