MCPcopy Create free account
hub / github.com/SapphireServer/Sapphire / process

Method process

src/common/Database/DbLoader.cpp:83–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83bool Sapphire::Db::DbLoader::process( std::queue< Predicate >& queue )
84{
85 while( !queue.empty() )
86 {
87 if( !queue.front()() )
88 {
89 // Close all open databases which have a registered close operation
90 while( !m_close.empty() )
91 {
92 m_close.top()();
93 m_close.pop();
94 }
95
96 return false;
97 }
98
99 queue.pop();
100 }
101 return true;
102}
103
104template
105Sapphire::Db::DbLoader&

Callers 1

bFunction · 0.80

Calls 3

topMethod · 0.80
emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected