summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-25 15:48:21 -0800
committerGitHub <noreply@github.com>2019-01-25 15:48:21 -0800
commit644db80fd377a4ee05bc2d6385b99ab152c13958 (patch)
treea2e236226332beb5f46a78ed82d0643e7371e873 /src/context.h
parent14dc0b912bb9e51f28fa10e03fba962dec22c870 (diff)
parentd0269e8c94dca6accba1d60e24ffb7f4b2f35932 (diff)
downloadfork-ledger-644db80fd377a4ee05bc2d6385b99ab152c13958.tar.gz
fork-ledger-644db80fd377a4ee05bc2d6385b99ab152c13958.tar.bz2
fork-ledger-644db80fd377a4ee05bc2d6385b99ab152c13958.zip
Merge pull request #1736 from scfc/drop-conditionals-for-boost-earlier-than-1-49
Drop conditionals for Boost earlier than 1.49
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/context.h b/src/context.h
index aba3a60e..ca7af060 100644
--- a/src/context.h
+++ b/src/context.h
@@ -113,11 +113,7 @@ inline parse_context_t open_for_reading(const path& pathname,
const path& cwd)
{
path filename = resolve_path(pathname);
-#if BOOST_VERSION >= 104600 && BOOST_FILESYSTEM_VERSION >= 3
filename = filesystem::absolute(filename, cwd);
-#else
- filename = filesystem::complete(filename, cwd);
-#endif
if (! exists(filename) || is_directory(filename))
throw_(std::runtime_error,
_f("Cannot read journal file %1%") % filename);