Commit f0fecad4 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

passing a string literal to help function:

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
argument type should be const char *


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3245
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 581b4c43
......@@ -126,7 +126,7 @@ namespace datread {
/*----------------------------------------------------------------------*/
void idatstream::help(std::ostream& os, char* name)
void idatstream::help(std::ostream& os, const char* name)
{
os << "Class " << name << " provides no help text." << std::endl;
}
......
......@@ -107,7 +107,7 @@ namespace datread {
sff::WID2 wid2() const { return(Mwid2); }
//! print some info about data conversion.
static void help(std::ostream& os=std::cout,
char* name="idatsream");
const char* name="idatsream");
protected:
idatstream(std::istream& is,
const bool& providesd=false,
......
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