From c93c9f1863eceff1df8369eba67693dbf99751ea Mon Sep 17 00:00:00 2001 From: Yong-Dian Jian Date: Sun, 22 Jun 2014 23:52:59 -0400 Subject: [PATCH] fix namespace --- examples/SFMExample_SmartFactor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SFMExample_SmartFactor.cpp b/examples/SFMExample_SmartFactor.cpp index 400ddd728..b3c5ee5fe 100644 --- a/examples/SFMExample_SmartFactor.cpp +++ b/examples/SFMExample_SmartFactor.cpp @@ -142,7 +142,7 @@ int main(int argc, char* argv[]) { boost::optional point; // The graph stores Factor shared_ptrs, so we cast back to a SmartFactor first - SmartFactor::shared_ptr smart = dynamic_pointer_cast(graph[j]); + SmartFactor::shared_ptr smart = boost::dynamic_pointer_cast(graph[j]); if (smart) { point = smart->point(result); if (point) // ignore if boost::optional return NULL