Skip to content

Commit

Permalink
Fix a few more typos and param argument name mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Apr 3, 2024
1 parent 298902f commit 5a9ae8f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions include/podio/Frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ class Frame {
/// This is a dedicated overload for enabling on-the-fly conversion from
/// an initializer_list of string literals
///
/// @param key The name under which this parameter should be stored
/// @param value The value of the parameter. A copy will be put into the Frame
/// @param key The name under which this parameter should be stored
/// @param values The values of the parameter. A copy will be put into the Frame
inline void putParameter(const std::string& key, std::vector<std::string> values) {
putParameter<std::vector<std::string>>(key, std::move(values));
}
Expand All @@ -262,8 +262,8 @@ class Frame {
///
/// @tparam T The type of the parameter. Has to be one of the types that
/// is supported by GenericParameters
/// @param key The name under which this parameter should be stored
/// @param value The value of the parameter. A copy will be put into the Frame
/// @param key The name under which this parameter should be stored
/// @param values The values of the parameter. A copy will be put into the Frame
template <typename T, typename = std::enable_if_t<detail::isInTuple<T, SupportedGenericDataTypes>>>
inline void putParameter(const std::string& key, std::initializer_list<T>&& values) {
putParameter<std::vector<T>>(key, std::move(values));
Expand Down
2 changes: 1 addition & 1 deletion include/podio/RNTupleReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class RNTupleReader {
/// "settings", e.g. they are outputs of a batched process.
///
/// @param filenames The filenames of all input files that should be read
void openFiles(const std::vector<std::string>& filename);
void openFiles(const std::vector<std::string>& filenames);

/// Read the next data entry for a given category.
///
Expand Down
2 changes: 1 addition & 1 deletion include/podio/ROOTLegacyReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ROOTLegacyReader {
/// "settings", e.g. they are outputs of a batched process.
///
/// @param filenames The filenames of all input files that should be read
void openFiles(const std::vector<std::string>& filename);
void openFiles(const std::vector<std::string>& filenames);

/// Read the next data entry from which a Frame can be constructed.
///
Expand Down
2 changes: 1 addition & 1 deletion include/podio/SIOReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SIOReader {

/// Open the passed file for reading.
///
/// @parame filename The path to the file to read from
/// @param filename The path to the file to read from
void openFile(const std::string& filename);

/// Get the build version of podio that has been used to write the current
Expand Down

0 comments on commit 5a9ae8f

Please sign in to comment.