Commit e0f7d166 authored by Fabian.Wein's avatar Fabian.Wein
Browse files

Fix typo in asserts which was not found by release build

* misspelled nullptr
parent 32f3851e
Pipeline #279031 failed with stages
......@@ -209,7 +209,7 @@ void vtkCFSReader::SetFillMissingResults(int flag)
int vtkCFSReader::GetRegionArrayStatus(const char* name)
{
assert(name != nulltpr);
assert(name != nullptr);
std::map<std::string, int>::const_iterator it = this->regionSwitch.find(name);
if (it != this->regionSwitch.end())
{
......@@ -221,7 +221,7 @@ int vtkCFSReader::GetRegionArrayStatus(const char* name)
void vtkCFSReader::SetRegionArrayStatus(const char* name, int status)
{
assert(name != nulltpr);
assert(name != nullptr);
this->regionSwitch[name] = status;
// IMPORTANT: Let VTK know, that the pipeline needs an update
......@@ -245,7 +245,7 @@ const char* vtkCFSReader::GetRegionArrayName(int index)
int vtkCFSReader::GetNamedNodeArrayStatus(const char* name)
{
assert(name != nulltpr);
assert(name != nullptr);
std::map<std::string, int>::const_iterator it = this->namedNodeSwitch.find(name);
if (it != this->namedNodeSwitch.end())
{
......@@ -257,7 +257,7 @@ int vtkCFSReader::GetNamedNodeArrayStatus(const char* name)
void vtkCFSReader::SetNamedNodeArrayStatus(const char* name, int status)
{
assert(name != nulltpr);
assert(name != nullptr);
this->namedNodeSwitch[name] = status;
this->Modified();
// In addition, set flag to false, that regions have to be updated
......@@ -276,7 +276,7 @@ const char* vtkCFSReader::GetNamedNodeArrayName(int index)
int vtkCFSReader::GetNamedElemArrayStatus(const char* name)
{
assert(name != nulltpr);
assert(name != nullptr);
std::map<std::string, int>::const_iterator it = this->namedElemSwitch.find(name);
if (it != this->namedElemSwitch.end())
{
......@@ -288,7 +288,7 @@ int vtkCFSReader::GetNamedElemArrayStatus(const char* name)
void vtkCFSReader::SetNamedElemArrayStatus(const char* name, int status)
{
assert(name != nulltpr);
assert(name != nullptr);
this->namedElemSwitch[name] = status;
this->Modified();
// In addition, set flag to false, that regions have to be updated
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment