Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -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;
}

View File

@@ -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)
{
}

View File

@@ -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;