PVS V591: non void functions must return something
Change-Id: I1f4276bc32afab75cf857c143d2bdb4fc3b578b1 Reviewed-on: https://review.haiku-os.org/c/1612 Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
parent
d1a703cb22
commit
22817d221a
@ -225,17 +225,20 @@ public:
|
||||
BReference& operator=(const BReference<const Type>& other)
|
||||
{
|
||||
fReference = other.fReference;
|
||||
return *this;
|
||||
}
|
||||
|
||||
BReference& operator=(Type* other)
|
||||
{
|
||||
fReference = other;
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename OtherType>
|
||||
BReference& operator=(const BReference<OtherType>& other)
|
||||
{
|
||||
fReference = other.Get();
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator==(const BReference<const Type>& other) const
|
||||
|
Loading…
Reference in New Issue
Block a user