From 2312c5b19422c2d9ca3eeb3207d763a1d2dc50f2 Mon Sep 17 00:00:00 2001 From: Daniel Milroy Date: Sun, 7 Apr 2024 22:34:53 -0700 Subject: [PATCH] traverser: correct typo in match_kind_t Problem: PRISTINE is spelled PRESTINE in match_kind_t. Correct the spelling. --- resource/traversers/dfu_impl.cpp | 2 +- resource/traversers/dfu_impl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/traversers/dfu_impl.cpp b/resource/traversers/dfu_impl.cpp index 3daea18f6..5e9b76a91 100644 --- a/resource/traversers/dfu_impl.cpp +++ b/resource/traversers/dfu_impl.cpp @@ -343,7 +343,7 @@ const std::vector &dfu_impl_t::test (vtx_t u, pristine = false; ret = &(match_resources->with); } else { - spec = pristine? match_kind_t::PRESTINE_NONE_MATCH + spec = pristine? match_kind_t::PRISTINE_NONE_MATCH : match_kind_t::NONE_MATCH; } diff --git a/resource/traversers/dfu_impl.hpp b/resource/traversers/dfu_impl.hpp index 7b7b11c48..441a55fff 100644 --- a/resource/traversers/dfu_impl.hpp +++ b/resource/traversers/dfu_impl.hpp @@ -38,7 +38,7 @@ enum class visit_t { DFV, UPV }; enum class match_kind_t { RESOURCE_MATCH, SLOT_MATCH, NONE_MATCH, - PRESTINE_NONE_MATCH }; + PRISTINE_NONE_MATCH }; struct jobmeta_t {