summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2016-01-24 14:03:02 +0100
committerStephan Beyer <s-beyer@gmx.net>2016-01-24 14:05:44 +0100
commitf7aa65db8a13d32da0586c125f6b9b67460af374 (patch)
treec389c399fd06571172a546aa65c761e234cd2310 /docs/samples
parent7f91301946ce05e79fdd2ca3e79071f79fc93ba3 (diff)
Fix whitespace issues
Git warns when it finds "whitespace errors". This commit gets rid of these whitespace errors for code and adoc files.
Diffstat (limited to 'docs/samples')
-rw-r--r--docs/samples/include.cpp2
-rw-r--r--docs/samples/save_declaration.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/samples/include.cpp b/docs/samples/include.cpp
index 39830c5..84f9dd0 100644
--- a/docs/samples/include.cpp
+++ b/docs/samples/include.cpp
@@ -48,7 +48,7 @@ bool preprocess(pugi::xml_node node)
bool load_preprocess(pugi::xml_document& doc, const char* path)
{
pugi::xml_parse_result result = doc.load_file(path, pugi::parse_default | pugi::parse_pi); // for <?include?>
-
+
return result ? preprocess(doc) : false;
}
// end::code[]
diff --git a/docs/samples/save_declaration.cpp b/docs/samples/save_declaration.cpp
index 7ca1e07..ca98dcb 100644
--- a/docs/samples/save_declaration.cpp
+++ b/docs/samples/save_declaration.cpp
@@ -15,7 +15,7 @@ int main()
decl.append_attribute("encoding") = "UTF-8";
decl.append_attribute("standalone") = "no";
- // <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+ // <?xml version="1.0" encoding="UTF-8" standalone="no"?>
// <foo bar="baz">
// <call>hey</call>
// </foo>