Skip to content

Commit

Permalink
Mod/Spreadsheet: fix yet another warning (potentialy harmful)
Browse files Browse the repository at this point in the history
Warning was -Woverloaded-virtual
  • Loading branch information
Fat-Zer authored and wwmayer committed Aug 29, 2015
1 parent a8634f0 commit d2176be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Spreadsheet/App/PropertySheet.cpp
Expand Up @@ -764,7 +764,7 @@ void PropertySheet::removeColumns(int col, int count)
}
}

unsigned int PropertySheet::getMemSize()
unsigned int PropertySheet::getMemSize() const
{
return sizeof(*this);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Spreadsheet/App/PropertySheet.h
Expand Up @@ -105,7 +105,7 @@ class PropertySheet : public App::Property {

void removeColumns(int col, int count);

unsigned int getMemSize (void);
virtual unsigned int getMemSize (void) const;

bool mergeCells(CellAddress from, CellAddress to);

Expand Down

0 comments on commit d2176be

Please sign in to comment.