remove rvalue argument so we can wrap method

release/4.3a0
Varun Agrawal 2025-02-08 22:42:36 -05:00
parent a7b38e9ba0
commit a35e5a6b08
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ class GTSAM_EXPORT HybridSmoother {
/**
* Re-initialize the smoother from a new hybrid Bayes Net.
*/
void reInitialize(HybridBayesNet&& hybridBayesNet) {
hybridBayesNet_ = std::move(hybridBayesNet);
void reInitialize(HybridBayesNet& hybridBayesNet) {
hybridBayesNet_ = hybridBayesNet;
}
/**