MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~AutoRestore

Method ~AutoRestore

src/common/classes/stack.h:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 ~AutoRestore()
219 {
220 FB_SIZE_T currentCount = stack.getCount();
221 fb_assert(currentCount >= count);
222
223 while (currentCount-- > count)
224 stack.pop();
225 }
226
227 private:
228 Stack<Object, Capacity>& stack;

Callers

nothing calls this directly

Calls 2

getCountMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected