(clang 15) compiler nit
This commit is contained in:
parent
7c59381604
commit
bcd86e5324
1 changed files with 5 additions and 0 deletions
|
|
@ -310,6 +310,11 @@ namespace xo {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Borrow& operator=(const Borrow& x) {
|
||||||
|
ptr_ = x.get();
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
T * ptr_ = nullptr;
|
T * ptr_ = nullptr;
|
||||||
}; /*Borrow*/
|
}; /*Borrow*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue