Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapmex committed Sep 15, 2024
1 parent 25fd87d commit 2f30d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/colorer/parsers/FileTypeImpl.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "colorer/parsers/FileTypeImpl.h"
#include <memory>

FileType::Impl::Impl(UnicodeString name, UnicodeString group, UnicodeString description)
: name(std::move(name)), group(std::move(group)), description(std::move(description))
FileType::Impl::Impl(UnicodeString l_name, UnicodeString l_group, UnicodeString l_description)
: name(std::move(l_name)), group(std::move(l_group)), description(std::move(l_description))
{
if (name.isEmpty()) {
throw FileTypeException("The file type name must not be empty");
Expand Down
2 changes: 1 addition & 1 deletion src/colorer/parsers/FileTypeImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TypeParameter
class FileType::Impl
{
public:
Impl(UnicodeString name, UnicodeString group, UnicodeString description);
Impl(UnicodeString l_name, UnicodeString l_group, UnicodeString l_description);

[[nodiscard]]
const UnicodeString& getName() const;
Expand Down

0 comments on commit 2f30d60

Please sign in to comment.