Skip to content

Commit

Permalink
add minor modifications to Report class
Browse files Browse the repository at this point in the history
issue #30
  • Loading branch information
Valentin Noel committed Jul 31, 2013
1 parent 74f0787 commit 31c56a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libraries/report/src/Report/Report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ std::string Report::toKey( size_t id )
return sstr.str();
}

ReportTree* Report::getReportTree()
ReportTree Report::getReportTree() const
{
return const_cast< ReportTree* >( &_basicElementTree );
return _basicElementTree;
}

}
2 changes: 1 addition & 1 deletion libraries/report/src/Report/Report.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Report
ReportNode addRootElement( std::shared_ptr< be::Element > element );
size_t getSize();

ReportTree* getReportTree();
ReportTree getReportTree() const;

private:
std::string toKey( size_t id );
Expand Down

0 comments on commit 31c56a2

Please sign in to comment.