From 2df57d72b65012674e6bc64dec66d9b3fd7f993b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 14 May 2018 14:10:56 +0300 Subject: Fallback to output directory removal for --keep-out on disfigure failure --- bpkg/diagnostics.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bpkg/diagnostics.hxx') diff --git a/bpkg/diagnostics.hxx b/bpkg/diagnostics.hxx index cbce2f2..ca277d4 100644 --- a/bpkg/diagnostics.hxx +++ b/bpkg/diagnostics.hxx @@ -5,12 +5,13 @@ #ifndef BPKG_DIAGNOSTICS_HXX #define BPKG_DIAGNOSTICS_HXX +#include // forward() + #include #include -#include -#include +#include // Note: not namespace bpkg { @@ -159,7 +160,9 @@ namespace bpkg epilogue_, type_, name_, - location (forward (f), forward (l), forward (c))); + location (std::forward (f), + std::forward (l), + std::forward (c))); } protected: -- cgit v1.1