mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty().
This commit is contained in:
@@ -39,12 +39,14 @@ namespace Util {
|
||||
XMLConfiguration::XMLConfiguration():
|
||||
_delim('.')
|
||||
{
|
||||
loadEmpty("config");
|
||||
}
|
||||
|
||||
|
||||
XMLConfiguration::XMLConfiguration(char delim):
|
||||
_delim(delim)
|
||||
{
|
||||
loadEmpty("config");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user