aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r--build2/test/script/script.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx
index bd13845..bc816d7 100644
--- a/build2/test/script/script.cxx
+++ b/build2/test/script/script.cxx
@@ -500,7 +500,7 @@ namespace build2
// script
//
script::
- script (target& tt, testscript& st, const dir_path& rwd)
+ script (const target& tt, const testscript& st, const dir_path& rwd)
: group (st.name == "testscript" ? string () : st.name),
test_target (tt),
script_target (st)
@@ -522,7 +522,7 @@ namespace build2
// Note that we have similar code for simple tests.
//
- target* t (nullptr);
+ const target* t (nullptr);
if (l.defined ())
{