use pt::Stream instead of a template stream argument
Use pt::Stream instead of a template StreamType argument for Generator, Blocks, Cache, Functions, FunInfo, Objects and OutStreams classes.
This commit is contained in:
@@ -85,6 +85,24 @@ void Blocks::ClearCache()
|
||||
|
||||
|
||||
|
||||
void Blocks::CacheObjects(Objects & obj)
|
||||
{
|
||||
BlocksTable::iterator i = blocks_tab.begin();
|
||||
|
||||
for( ; i != blocks_tab.end() ; ++i)
|
||||
Cache(obj, i->second);
|
||||
}
|
||||
|
||||
|
||||
void Blocks::CacheFunctions(Functions & fun)
|
||||
{
|
||||
BlocksTable::iterator i = blocks_tab.begin();
|
||||
|
||||
for( ; i != blocks_tab.end() ; ++i)
|
||||
Cache(fun, i->second);
|
||||
}
|
||||
|
||||
|
||||
void Blocks::CacheBlocks(Blocks & blocks)
|
||||
{
|
||||
BlocksTable::iterator i = blocks_tab.begin();
|
||||
@@ -95,4 +113,5 @@ void Blocks::CacheBlocks(Blocks & blocks)
|
||||
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user