diff --git a/dlib/svm/svm.h b/dlib/svm/svm.h index 087be8ae8..9beb393a5 100644 --- a/dlib/svm/svm.h +++ b/dlib/svm/svm.h @@ -818,7 +818,7 @@ namespace dlib { typedef probabilistic_function trained_function_type; - const trainer_type& trainer; + const trainer_type trainer; const long folds; trainer_adapter_probabilistic (