Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/educelab/core/types/Mat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Mat
static constexpr std::size_t cols{Cols};

/** Default constructor */
Mat() { vals_.fill(0); };
Mat() { vals_.fill(0); }

/** @brief Constructor with fill values */
template <typename... Args>
Expand Down
2 changes: 1 addition & 1 deletion include/educelab/core/utils/String.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static auto split(std::string_view s, const Ds&... ds)
// Split string
std::vector<std::string_view> tokens;
std::string_view::size_type begin{0};
for (const auto [end, size] : delimPos) {
for (const auto& [end, size] : delimPos) {
// ignore nested delimiters
if (end < begin) {
continue;
Expand Down