Skip to content

Commit

Permalink
-- Removed un referenced company definitions in company.cpp file
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtApone117 committed Dec 3, 2024
1 parent 5506c37 commit 3bc611b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/company.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace faker::company
{
namespace{
const struct CompanyDefintion& getCompanyDefinition(Locale locale)
const struct CompanyDefinition& getCompanyDefinition(Locale locale)
{
switch(locale)
{
Expand Down Expand Up @@ -59,7 +59,6 @@ std::string_view industry(Locale locale)

std::string buzzPhrase(Locale locale)
{
const auto& companyDefintion = getCompanyDefinition(locale);
return common::format("{} {} {}", buzzVerb(locale), buzzAdjective(locale), buzzNoun(locale));
}

Expand All @@ -83,7 +82,6 @@ std::string_view buzzVerb(Locale locale)

std::string catchPhrase(Locale locale)
{
const auto& companyDefintion = getCompanyDefinition(locale);
return common::format("{} {} {}", catchPhraseAdjective(locale), catchPhraseDescriptor(locale), catchPhraseNoun(locale));
}

Expand Down

0 comments on commit 3bc611b

Please sign in to comment.