Remove enable_shared_from_this on PerformProbe
This class was both added incorrectly as a private base class, and not
used.  Had it been used, it would've shown errors on construction, but
as-is, it can fail on destruction.  This isn't used anywhere, so just
remove it.
Clang tidy has a bugprone check that will be enabled separately.
[1] https://clang.llvm.org/extra/clang-tidy/checks/bugprone/incorrect-enable-shared-from-this.html
Change-Id: I6bf16bd4979652e72129abd9f52bd7ebebd9b1be
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/src/entity_manager/perform_probe.hpp b/src/entity_manager/perform_probe.hpp
index 2e28d9b..69c5375 100644
--- a/src/entity_manager/perform_probe.hpp
+++ b/src/entity_manager/perform_probe.hpp
@@ -34,7 +34,7 @@
 FoundProbeTypeT findProbeType(const std::string& probe);
 
 // this class finds the needed dbus fields and on destruction runs the probe
-struct PerformProbe : std::enable_shared_from_this<PerformProbe>
+struct PerformProbe
 {
     PerformProbe(nlohmann::json& recordRef,
                  const std::vector<std::string>& probeCommand,