aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp')
-rw-r--r--lang/cpp/README2
-rw-r--r--lang/cpp/src/swdbresult.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/cpp/README b/lang/cpp/README
index b9a48da1..e142e371 100644
--- a/lang/cpp/README
+++ b/lang/cpp/README
@@ -62,7 +62,7 @@ Example to set the ownertrust of a key:
Data data;
/* Start the edit on some key previously obtained. */
Error e = ctx->edit(key, std::unique_ptr<EditInteractor>(ei), data);
- /* Errors provide boolean comparision */
+ /* Errors provide boolean comparison */
if (!e)
...
/* Delete the context */
diff --git a/lang/cpp/src/swdbresult.h b/lang/cpp/src/swdbresult.h
index 2e0bf2d5..d13b57c8 100644
--- a/lang/cpp/src/swdbresult.h
+++ b/lang/cpp/src/swdbresult.h
@@ -87,7 +87,7 @@ public:
/* The time the online info was retrieved. */
unsigned long retrieved() const;
- /* This bit is set if an error occured or some of the information
+ /* This bit is set if an error occurred or some of the information
* in this structure may not be set. */
bool warning() const;