cmProcessTools: Re-arrange data layout.
Size goes from 72 to 64 bytes.
This commit is contained in:
parent
b1ff32afc6
commit
40844a1487
|
@ -44,7 +44,7 @@ void cmProcessTools::RunProcess(struct cmsysProcess_s* cp,
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmProcessTools::LineParser::LineParser(char sep, bool ignoreCR):
|
cmProcessTools::LineParser::LineParser(char sep, bool ignoreCR):
|
||||||
Separator(sep), IgnoreCR(ignoreCR), Log(0), Prefix(0), LineEnd('\0')
|
Log(0), Prefix(0), Separator(sep), LineEnd('\0'), IgnoreCR(ignoreCR)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,12 +51,12 @@ public:
|
||||||
/** Configure logging of lines as they are extracted. */
|
/** Configure logging of lines as they are extracted. */
|
||||||
void SetLog(std::ostream* log, const char* prefix);
|
void SetLog(std::ostream* log, const char* prefix);
|
||||||
protected:
|
protected:
|
||||||
char Separator;
|
|
||||||
bool IgnoreCR;
|
|
||||||
std::ostream* Log;
|
std::ostream* Log;
|
||||||
const char* Prefix;
|
const char* Prefix;
|
||||||
char LineEnd;
|
|
||||||
std::string Line;
|
std::string Line;
|
||||||
|
char Separator;
|
||||||
|
char LineEnd;
|
||||||
|
bool IgnoreCR;
|
||||||
virtual bool ProcessChunk(const char* data, int length);
|
virtual bool ProcessChunk(const char* data, int length);
|
||||||
|
|
||||||
/** Implement in a subclass to process one line of input. It
|
/** Implement in a subclass to process one line of input. It
|
||||||
|
|
Loading…
Reference in New Issue