Parcourir la source

spelling: instantiate

Josh Soref il y a 7 ans
Parent
commit
fa77a18078
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      src/lib/cc/simple_parser.h
  2. 1 1
      src/lib/dhcpsrv/host_mgr.h

+ 2 - 2
src/lib/cc/simple_parser.h

@@ -154,7 +154,7 @@ protected:
 
     /// @brief Returns an integer value with range checking from a scope
     ///
-    /// This template should be instantied in parsers when useful
+    /// This template should be instantiated in parsers when useful
     ///
     /// @tparam int_type the integer type e.g. uint32_t
     /// @param scope specified parameter will be extracted from this scope
@@ -178,7 +178,7 @@ protected:
 
     /// @brief Returns a converted value from a scope
     ///
-    /// This template should be instantied in parsers when useful
+    /// This template should be instantiated in parsers when useful
     ///
     /// @tparam target_type the type of the result
     /// @tparam convert the conversion function std::string -> target_type

+ 1 - 1
src/lib/dhcpsrv/host_mgr.h

@@ -273,7 +273,7 @@ public:
     ///
     /// Note: This should be used only for testing. Do not use
     /// in production. Normal control flow assumes that
-    /// HostMgr::create(...) is called and it instnatiates
+    /// HostMgr::create(...) is called and it instantiates
     /// appropriate host data source. However, some tests
     /// (e.g. host_cmds) implement their own very simple
     /// data source. It's not production ready by any means,