summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-03-23 00:32:36 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-03-23 00:32:36 -0400
commit584bdb1600d4e0c71cbfdeca18f4db7170c0ab3c (patch)
tree7a379fb1ba4e4d3c305ffa6e3f975d4889e011f7 /src/textual.cc
parent4ce186fa806753c2d4d230dcfa54bf7fd79b9cd3 (diff)
downloadfork-ledger-584bdb1600d4e0c71cbfdeca18f4db7170c0ab3c.tar.gz
fork-ledger-584bdb1600d4e0c71cbfdeca18f4db7170c0ab3c.tar.bz2
fork-ledger-584bdb1600d4e0c71cbfdeca18f4db7170c0ab3c.zip
Fix for Boost 1.46 and the new Filesystem library
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
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