diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-14 14:10:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-14 16:54:16 +0300 |
commit | 2df57d72b65012674e6bc64dec66d9b3fd7f993b (patch) | |
tree | 81c893c0b745145d9a3779b9ce3fb41c57e17956 /bpkg/diagnostics.hxx | |
parent | 1ddbf3409f76f0dd91a9402e602bc1ea1b12f8cd (diff) |
Fallback to output directory removal for --keep-out on disfigure failure
Diffstat (limited to 'bpkg/diagnostics.hxx')
-rw-r--r-- | bpkg/diagnostics.hxx | 9 |
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: |