From b7e01d42a49c87f49453de4fc85744cb0e90a8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Offringa?= <offringa@astron.nl> Date: Tue, 1 Feb 2011 16:12:32 +0000 Subject: [PATCH] Bug 1491: fixing compilation issue with older boosts --- CEP/DP3/AOFlagger/include/AOFlagger/ref/refmovescript.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CEP/DP3/AOFlagger/include/AOFlagger/ref/refmovescript.h b/CEP/DP3/AOFlagger/include/AOFlagger/ref/refmovescript.h index 4ed38ea510a..7fe84dd023d 100644 --- a/CEP/DP3/AOFlagger/include/AOFlagger/ref/refmovescript.h +++ b/CEP/DP3/AOFlagger/include/AOFlagger/ref/refmovescript.h @@ -44,7 +44,7 @@ namespace AOTools { RefFileEntry entry = *i; boost::filesystem::path entryPath(entry.Path()); - entry.SetPath((destPath / entryPath.filename()).directory_string()); + entry.SetPath((destPath / entryPath.leaf()).directory_string()); destFile.Add(entry); } -- GitLab