From 0776c5884779d72bf69470bcaee40b193a848dee Mon Sep 17 00:00:00 2001 From: Gabriele Carrettoni Date: Wed, 23 Sep 2015 22:21:18 +0200 Subject: [PATCH] Fix typo rule C.42 runrime -> runtime --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f28366f..6048f1b 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -3513,7 +3513,7 @@ The idiom of having constructors acquire resources and destructors release them X2(const string& name) :f{fopen(name.c_str(),"r"} { - if (f==nullptr) throw runrime_error{"could not open" + name}; + if (f==nullptr) throw runtime_error{"could not open" + name}; // ... }