From 49f4c911f6daa00daa341daddda497a3323e3263 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Sat, 15 Oct 2011 18:38:45 +0000 Subject: [PATCH] changed the concept check macro to use a typedef instead of a instantiation --- gtsam/geometry/concepts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/geometry/concepts.h b/gtsam/geometry/concepts.h index 084cd4ffd..86e7510e1 100644 --- a/gtsam/geometry/concepts.h +++ b/gtsam/geometry/concepts.h @@ -57,6 +57,6 @@ struct RangeMeasurementConcept { }; /** Instantiation macro */ -#define GTSAM_CONCEPT_RANGE_MEASUREMENT(V1,V2) template class RangeMeasurementConcept; +#define GTSAM_CONCEPT_RANGE_MEASUREMENT(V1,V2) typedef RangeMeasurementConcept RangeMeasurementConcept##V1##V2; } // \namespace gtsam