diff --git a/lix/libutil/ref.hh b/lix/libutil/ref.hh index 03aa64273..8ccad834b 100644 --- a/lix/libutil/ref.hh +++ b/lix/libutil/ref.hh @@ -32,13 +32,6 @@ public: throw std::invalid_argument("null pointer cast to ref"); } - explicit ref(T * p) - : p(p) - { - if (!p) - throw std::invalid_argument("null pointer cast to ref"); - } - T* operator ->() const { return &*p;