Context: Removed unused ::clear method
This commit is contained in:
@@ -746,30 +746,6 @@ void Context::decomposeSortField (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Note: The reason some of these are commented out is because the ::clear
|
|
||||||
// method is not really "clear" but "clear_some". Some members do not need to
|
|
||||||
// be initialized. That makes this method something of a misnomer. So be it.
|
|
||||||
//
|
|
||||||
// TODO Is this method used anywhere?
|
|
||||||
void Context::clear ()
|
|
||||||
{
|
|
||||||
tdb2.clear ();
|
|
||||||
|
|
||||||
// Eliminate the command objects.
|
|
||||||
for (auto& cmd : commands)
|
|
||||||
delete cmd.second;
|
|
||||||
|
|
||||||
commands.clear ();
|
|
||||||
|
|
||||||
// Eliminate the column objects.
|
|
||||||
for (auto& col : columns)
|
|
||||||
delete col.second;
|
|
||||||
|
|
||||||
columns.clear ();
|
|
||||||
clearMessages ();
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// This capability is to answer the question of 'what did I just do to generate
|
// This capability is to answer the question of 'what did I just do to generate
|
||||||
// this output?'.
|
// this output?'.
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ public:
|
|||||||
void debug (const std::string&); // Debug message sink
|
void debug (const std::string&); // Debug message sink
|
||||||
void error (const std::string&); // Error message sink - non-maskable
|
void error (const std::string&); // Error message sink - non-maskable
|
||||||
void clearMessages ();
|
void clearMessages ();
|
||||||
void clear ();
|
|
||||||
|
|
||||||
void decomposeSortField (const std::string&, std::string&, bool&, bool&);
|
void decomposeSortField (const std::string&, std::string&, bool&, bool&);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user