Throws, explicits and trivial cleanups

This commit is contained in:
Miguel Portilla
2016-01-28 17:42:38 -05:00
committed by Nik Bougalis
parent 8e842b5893
commit ed9f5639a8
16 changed files with 15 additions and 18 deletions

View File

@@ -132,10 +132,7 @@ std::string const& getFullVersionString ()
{
struct PrettyPrinter
{
PrettyPrinter ()
{
fullVersionString = "rippled-" + getVersionString ();
}
PrettyPrinter () : fullVersionString ("rippled-" + getVersionString ()){}
std::string fullVersionString;
};