aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-15 09:03:12 +0200
committerGitHub <noreply@github.com>2021-10-15 09:03:12 +0200
commitc0951299b368d7c7b0d9934aba14ce4bf7e03e1a (patch)
treecd4fef7f26cdd7fdf52a5eec8df6b10ebd67c2c9
parentc574ab39077dde5e424cab05927f37ad2e5a50ad (diff)
parenteae29b0385981a2a1cc792bdb6551d558f4fa6d3 (diff)
Merge pull request #5383 from kvtb/patch-7
fix build with gcc11
-rw-r--r--src/libutil/ref.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/ref.hh b/src/libutil/ref.hh
index d6bf53bb8..347b81f73 100644
--- a/src/libutil/ref.hh
+++ b/src/libutil/ref.hh
@@ -17,7 +17,7 @@ private:
public:
- ref<T>(const ref<T> & r)
+ ref(const ref<T> & r)
: p(r.p)
{ }