diff --git a/gtsam/hybrid/HybridBayesNet.h b/gtsam/hybrid/HybridBayesNet.h index f745b94c9..9876e6fc1 100644 --- a/gtsam/hybrid/HybridBayesNet.h +++ b/gtsam/hybrid/HybridBayesNet.h @@ -33,18 +33,6 @@ namespace gtsam { * @ingroup hybrid */ class GTSAM_EXPORT HybridBayesNet : public BayesNet { - template - struct is_shared_ptr : std::false_type {}; - template - struct is_shared_ptr> : std::true_type {}; - - /// Helper templates for checking if a type is a shared pointer or not - template - using IsSharedPtr = typename std::enable_if::value>::type; - template - using IsNotSharedPtr = - typename std::enable_if::value>::type; - public: using Base = BayesNet; using This = HybridBayesNet; @@ -108,7 +96,6 @@ class GTSAM_EXPORT HybridBayesNet : public BayesNet { * * @tparam CONDITIONAL Type of conditional. This is shared_ptr version. * @param conditional The conditional as a shared pointer. - * @return IsSharedPtr */ template void push_back(std::shared_ptr conditional) {