diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index a0e61e0..f8c262a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11622,8 +11622,8 @@ The less sharing you do, the less chance you have to wait on a lock (so performa ##### Example bool validate(const vector&); - Graph validate(const vector&); - Image validate(const vector&); + Graph temperature_gradiants(const vector&); + Image altitude_map(const vector&); // ... void process_readings(istream& socket1) @@ -11633,7 +11633,7 @@ The less sharing you do, the less chance you have to wait on a lock (so performa if (!socket1) throw Bad_input{}; auto h1 = async([&] { if (!validate(surface_readings) throw Invalide_data{}; }); - auto h2 = async([&] { return temparature_gradiants(surface_readings); }); + auto h2 = async([&] { return temperature_gradiants(surface_readings); }); auto h3 = async([&] { return altitude_map(surface_readings); }); // ... auto v1 = h1.get();