aboutsummaryrefslogtreecommitdiff
path: root/build/prerequisite.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/prerequisite.cxx')
-rw-r--r--build/prerequisite.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/prerequisite.cxx b/build/prerequisite.cxx
index 89ac275..49cab89 100644
--- a/build/prerequisite.cxx
+++ b/build/prerequisite.cxx
@@ -20,9 +20,9 @@ namespace build
ostream&
operator<< (ostream& os, const prerequisite_key& pk)
{
- if (*pk.proj != nullptr)
- os << **pk.proj << '%';
- //
+ if (pk.proj != nullptr)
+ os << *pk.proj << '%';
+
// Don't print scope if we are project-qualified or the
// prerequisite's directory is absolute. In both these
// cases the scope is not used to resolve it to target.