Skip to content

Commit

Permalink
Pass breadcrumbs on from fractional_progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed Aug 20, 2012
1 parent 00ebd0a commit 0ccb0f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tpie/fractional_progress.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ class fractional_progress {
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
unique_id_type & id(); unique_id_type & id();


void push_breadcrumb(const char * crumb, description_importance importance) {
if (m_pi) m_pi->push_breadcrumb(crumb, importance);
}

void pop_breadcrumb() {
if (m_pi) m_pi->pop_breadcrumb();
}

private: private:
double get_fraction(fractional_subindicator & sub); double get_fraction(fractional_subindicator & sub);


Expand Down

0 comments on commit 0ccb0f6

Please sign in to comment.