Skip to content
Snippets Groups Projects
Commit 597532ee authored by Dan Lipsa's avatar Dan Lipsa Committed by Code Review
Browse files

Merge topic 'live-breakpoint' into master

afed075d Forces the compiler to convert a char* to a string rather than a bool.
parents 2eee0798 afed075d
No related branches found
No related tags found
No related merge requests found
......@@ -603,6 +603,13 @@ vtkMultiProcessStream& vtkMultiProcessStream::operator << (vtkTypeUInt64 value)
return (*this);
}
//----------------------------------------------------------------------------
vtkMultiProcessStream& vtkMultiProcessStream::operator << (const char* value)
{
this->operator<< (std::string(value));
return *this;
}
//----------------------------------------------------------------------------
vtkMultiProcessStream& vtkMultiProcessStream::operator << (const std::string& value)
{
......
......@@ -51,6 +51,9 @@ public:
vtkMultiProcessStream& operator << (vtkTypeInt64 value);
vtkMultiProcessStream& operator << (vtkTypeUInt64 value);
vtkMultiProcessStream& operator << (const std::string& value);
// Without this operator, the compiler would convert
// a char* to a bool instead of a std::string.
vtkMultiProcessStream& operator << (const char* value);
vtkMultiProcessStream& operator << (const vtkMultiProcessStream&);
// Description:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment