diff --git a/include/podio/detail/Link.h b/include/podio/detail/Link.h index 524ee305f..0cb50135e 100644 --- a/include/podio/detail/Link.h +++ b/include/podio/detail/Link.h @@ -16,7 +16,7 @@ namespace podio { /// Generalized Link type for both Mutable and immutable (default) -/// versions. User facing clases with the expected naming scheme are defined via +/// versions. User facing classes with the expected naming scheme are defined via /// template aliases in LinkFwd.h template class LinkT { @@ -251,7 +251,7 @@ class LinkT { /// and if the requested type is actually part of the Link. Will result /// in a compilation error if any of these conditions is not met. /// - /// @tparam T type of value (**infered!**) + /// @tparam T type of value (**inferred!**) /// @param value the element to set for this link. template && diff --git a/include/podio/utilities/TypeHelpers.h b/include/podio/utilities/TypeHelpers.h index 791991d35..ebff8e3be 100644 --- a/include/podio/utilities/TypeHelpers.h +++ b/include/podio/utilities/TypeHelpers.h @@ -181,7 +181,7 @@ namespace detail { template using hasObject_t = typename T::object_type; - /// Detector for checking the existance of a collection_type type member. + /// Detector for checking the existence of a collection_type type member. template using hasCollection_t = typename T::collection_type; diff --git a/tests/datamodel/LinkCollections.h b/tests/datamodel/LinkCollections.h index 8a2966123..53f32f078 100644 --- a/tests/datamodel/LinkCollections.h +++ b/tests/datamodel/LinkCollections.h @@ -9,7 +9,7 @@ // Define an link that is used for the I/O tests using TestLinkCollection = podio::LinkCollection; -// Define a link with an interace type that is used for I/O tests +// Define a link with an interface type that is used for I/O tests using TestInterfaceLinkCollection = podio::LinkCollection; #endif // PODIO_TESTS_LINKCOLLECTIONS_H diff --git a/tests/unittests/links.cpp b/tests/unittests/links.cpp index 093f645dc..a296d06f6 100644 --- a/tests/unittests/links.cpp +++ b/tests/unittests/links.cpp @@ -301,7 +301,7 @@ TEST_CASE("LinkCollection subset collection", "[links][subset-colls]") { // Cannot convert into a subset collection if elements already present REQUIRE_THROWS_AS(links.setSubsetCollection(), std::logic_error); - // Connot convert a subset collection into a normal collection + // Cannot convert a subset collection into a normal collection REQUIRE_THROWS_AS(linkRefs.setSubsetCollection(false), std::logic_error); } @@ -452,7 +452,7 @@ TEST_CASE("Links with interfaces", "[links][interface-types]") { } #ifdef PODIO_JSON_OUTPUT -TEST_CASE("Link JSON converstion", "[links][json]") { +TEST_CASE("Link JSON conversion", "[links][json]") { const auto& [links, hits, clusters] = createLinkCollections(); const nlohmann::json json{{"links", links}};