mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Fixed possible null dereference for etl::multi_span operator ->
This commit is contained in:
parent
962264e0b1
commit
2b0690928f
@ -134,7 +134,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
pointer operator ->()
|
||||
{
|
||||
return &operator*();
|
||||
return p_value;
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
@ -142,7 +142,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
const_pointer operator ->() const
|
||||
{
|
||||
return &operator*();
|
||||
return p_value;
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user