Skip to content

Commit

Permalink
Fix warnings about unused parameters in ArrayCompositor methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Feb 15, 2024
1 parent 05a572c commit 4e718bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Behavioral_Patterns/Strategy/ArrayCompositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

ArrayCompositor::ArrayCompositor(int interval)
{
std::cout << "ArrayCompositor::ArrayCompositor()" << std::endl;
std::cout << "Constructing ArrayCompositor object with interval " << interval << "." << std::endl;
}

int ArrayCompositor::Compose(
Coord natural[], Coord stretch[], Coord shrink[],
int componentCount, int lineWidth, int breaks[]
Coord /*natural*/[], Coord /*stretch*/[], Coord /*shrink*/[],
int /*componentCount*/, int /*lineWidth*/, int /*breaks*/[]
)
{
std::cout << "ArrayCompositor::Compose(...)" << std::endl;
Expand Down

0 comments on commit 4e718bb

Please sign in to comment.