mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -65,7 +65,7 @@ Object& Query::findObject(const std::string& path, Object& obj) const
|
||||
obj = *result.extract<Object::Ptr>();
|
||||
else if (result.type() == typeid(Object))
|
||||
obj = result.extract<Object>();
|
||||
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ Array& Query::findArray(const std::string& path, Array& arr) const
|
||||
arr = *result.extract<Array::Ptr>();
|
||||
else if (result.type() == typeid(Array))
|
||||
arr = result.extract<Array>();
|
||||
|
||||
|
||||
return arr;
|
||||
}
|
||||
|
||||
|
@@ -303,8 +303,8 @@ class IncludePart: public Part
|
||||
{
|
||||
public:
|
||||
|
||||
IncludePart(const Path& parentPath, const Path& path):
|
||||
Part(),
|
||||
IncludePart(const Path& parentPath, const Path& path):
|
||||
Part(),
|
||||
_path(path)
|
||||
{
|
||||
// When the path is relative, try to make it absolute based
|
||||
@@ -347,16 +347,16 @@ private:
|
||||
};
|
||||
|
||||
|
||||
Template::Template(const Path& templatePath):
|
||||
_parts(0),
|
||||
_currentPart(0),
|
||||
Template::Template(const Path& templatePath):
|
||||
_parts(0),
|
||||
_currentPart(0),
|
||||
_templatePath(templatePath)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Template::Template():
|
||||
_parts(0),
|
||||
_parts(0),
|
||||
_currentPart(0)
|
||||
{
|
||||
}
|
||||
|
@@ -51,12 +51,12 @@ Template::Ptr TemplateCache::getTemplate(const Path& path)
|
||||
|
||||
Path templatePath = resolvePath(path);
|
||||
std::string templatePathname = templatePath.toString();
|
||||
|
||||
|
||||
if (_pLogger)
|
||||
{
|
||||
poco_trace_f1(*_pLogger, "Path resolved to %s", templatePathname);
|
||||
}
|
||||
|
||||
|
||||
File templateFile(templatePathname);
|
||||
|
||||
Template::Ptr tpl;
|
||||
|
Reference in New Issue
Block a user