Skip to content

Commit

Permalink
Mark PLA.dump as const
Browse files Browse the repository at this point in the history
  • Loading branch information
yqszxx committed Oct 4, 2021
1 parent 3274fd1 commit de95238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Pla.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void PLA::parse() {
}
}

void PLA::dump() {
void PLA::dump() const {
std::cout << ".i " << Cube::getInputCount() << std::endl;
std::cout << ".o " << Cube::getOutputCount() << std::endl;
std::cout << ".type f" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion src/Pla.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace espresso {
class PLA {
public:
explicit PLA();
void dump();
void dump() const;
void expand();

private:
Expand Down

0 comments on commit de95238

Please sign in to comment.