From bcd51d2f1e03b0ddca0df20b9f6a9ebe457e73d3 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 15 Nov 2023 08:55:36 -0500 Subject: [PATCH] Fix other use of cereal macro not available in older versions. --- src/mlpack/core/cereal/template_class_version.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/core/cereal/template_class_version.hpp b/src/mlpack/core/cereal/template_class_version.hpp index ea9e508964..bb68af0705 100644 --- a/src/mlpack/core/cereal/template_class_version.hpp +++ b/src/mlpack/core/cereal/template_class_version.hpp @@ -63,7 +63,7 @@ struct Version \ return CEREAL_UNPACK VERSION_NUMBER; \ } \ \ - CEREAL_UNUSED_FUNCTION \ + static void unused() { (void) version; } \ }; /* end Version */ \ \ template \