From 584bdb1600d4e0c71cbfdeca18f4db7170c0ab3c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 23 Mar 2011 00:32:36 -0400 Subject: Fix for Boost 1.46 and the new Filesystem library --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 26de6f9e..0e7f2aec 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -753,7 +753,7 @@ void instance_t::include_directive(char * line) { #if BOOST_VERSION >= 103700 #if BOOST_VERSION >= 104600 - string base = (*iter).path().string(); + string base = (*iter).path().filename().string(); #else string base = (*iter).filename(); #endif -- cgit v1.2.3