mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Hadrons: better string representation of module parameters
This commit is contained in:
parent
d3f857b1c9
commit
ccfc0a5a89
@ -256,12 +256,11 @@ void Module<P>::saveParameters(XmlWriter &writer, const std::string name)
|
||||
template <typename P>
|
||||
std::string Module<P>::parString(void) const
|
||||
{
|
||||
std::string xmlstring;
|
||||
XmlWriter writer("","");
|
||||
std::ostringstream s;
|
||||
|
||||
write(writer, par_.SerialisableClassName(), par_);
|
||||
s << par();
|
||||
|
||||
return writer.string();
|
||||
return s.str();
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
|
Loading…
Reference in New Issue
Block a user