aboutsummaryrefslogtreecommitdiff
path: root/bpkg/diagnostics.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-14 14:10:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-14 16:54:16 +0300
commit2df57d72b65012674e6bc64dec66d9b3fd7f993b (patch)
tree81c893c0b745145d9a3779b9ce3fb41c57e17956 /bpkg/diagnostics.hxx
parent1ddbf3409f76f0dd91a9402e602bc1ea1b12f8cd (diff)
Fallback to output directory removal for --keep-out on disfigure failure
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r--bpkg/diagnostics.hxx9
1 files changed, 6 insertions, 3 deletions
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 <utility> // forward()
+
#include <odb/tracer.hxx>
#include <libbutl/diagnostics.mxx>
-#include <bpkg/types.hxx>
-#include <bpkg/utility.hxx>
+#include <bpkg/types.hxx> // Note: not <bpkg/utility.hxx>
namespace bpkg
{
@@ -159,7 +160,9 @@ namespace bpkg
epilogue_,
type_,
name_,
- location (forward<F> (f), forward<L> (l), forward<C> (c)));
+ location (std::forward<F> (f),
+ std::forward<L> (l),
+ std::forward<C> (c)));
}
protected: