#include "i18n.h"
+using namespace PBD;
+
Stateful::Stateful ()
{
_extra_xml = 0;
tree.set_root (copy);
if (!tree.write()) {
- error << compose(_("Error: could not write %1"), dir+"/instant.xml") << endmsg;
+ error << string_compose(_("Error: could not write %1"), dir+"/instant.xml") << endmsg;
}
}
if (tree.read(dir+"/instant.xml")) {
_instant_xml = new XMLNode(*(tree.root()));
} else {
- warning << compose(_("Could not understand XML file %1"), instant_file) << endmsg;
+ warning << string_compose(_("Could not understand XML file %1"), instant_file) << endmsg;
return 0;
}
} else {