From 1630f7607003cac3579486d21970c7bb98942741 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 19 Jun 2017 19:02:26 +0200 Subject: Dereference pointer when printing --- build2/version/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/version') diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx index c5eb56d..a9d62ba 100644 --- a/build2/version/rule.cxx +++ b/build2/version/rule.cxx @@ -564,7 +564,7 @@ namespace build2 } catch (const io_error& e) { - fail << "unable to " << what << ' ' << whom << ": " << e; + fail << "unable to " << what << ' ' << *whom << ": " << e; } t.mtime (system_clock::now ()); -- cgit v1.1