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:
Adrien Destugues 2019-07-16 21:13:57 +02:00 committed by waddlesplash
parent d1a703cb22
commit 22817d221a

View File

@ -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