ibr-alg/wiselib — Issue #5: Change Shawn Facet Provider to use map
Author: gitbaum
Created: 2011-10-12 11:48:42+00:00
State: open
Labels: External Interface

Instead of returning a new instance of a facet for each call, a facet should map to a certain processor. hence, facets should be stored in a map, and only created at the first call.

Code currently:

static Facet& get_facet( ShawnOs& os )
{
return *(new Facet(os));
}