From 1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 10 Jan 2023 16:00:36 +0100 Subject: Put ctor.h contents in ctor namespace. --- src/build.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/build.h') diff --git a/src/build.h b/src/build.h index caf7a68..97bcfc6 100644 --- a/src/build.h +++ b/src/build.h @@ -10,23 +10,25 @@ #include "task.h" #include "tasks.h" +namespace ctor { struct Settings; +} // namespace ctor:: //! Dry-run returns number of dirty tasks but otherwise does nothing. -int build(const Settings& settings, +int build(const ctor::Settings& settings, const std::string& name, const std::set>& tasks, const std::set>& all_tasks, bool dryrun = false); //! Dry-run returns number of dirty tasks but otherwise does nothing. -int build(const Settings& settings, +int build(const ctor::Settings& settings, const std::string& name, const std::set>& all_tasks, bool dryrun = false); //! Dry-run returns number of dirty tasks but otherwise does nothing. -int build(const Settings& settings, +int build(const ctor::Settings& settings, const std::string& name, const std::vector& targets, const std::set>& all_tasks, -- cgit v1.2.3