Push the modifications applied to this cache to its base and wipe local state. Failure to call this method or Sync() before destruction will cause the changes to be forgotten. If reallocate_cache is false, the cache will retain the same memory footprint after flushing and should be destroyed to deallocate.
Declared in <coins.h>
virtual
void
Flush(bool reallocate_cache = true);
| Name | Description |
|---|---|
| reallocate_cache | When false, keep the same memory footprint after flushing instead of shrinking. |