summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/main/analyse_context.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildtool/main/analyse_context.hpp b/src/buildtool/main/analyse_context.hpp
index 4fe7381e..cb240cef 100644
--- a/src/buildtool/main/analyse_context.hpp
+++ b/src/buildtool/main/analyse_context.hpp
@@ -22,6 +22,8 @@
#include "src/buildtool/serve_api/remote/serve_api.hpp"
#include "src/buildtool/storage/storage.hpp"
+/// \brief Aggregate to be passed during analysis.
+/// \note No field is stored as const ref to avoid binding to temporaries.
struct AnalyseContext final {
gsl::not_null<RepositoryConfig const*> const repo_config;
gsl::not_null<Storage const*> const storage;