~michihenning/persistent-cache-cpp/merge-crossbuild

« back to all changes in this revision

Viewing changes to examples/person_cache.cpp

MoreĀ docĀ improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
int main(int /* argc */, char** /* argv */)
58
58
{
59
 
    system("rm -fr " DB_NAME);
 
59
#pragma GCC diagnostic push
 
60
#pragma GCC diagnostic ignored "-Wunused-result"
 
61
    system("rm -fr " DB_NAME "/*");
 
62
#pragma GCC diagnostic pop
60
63
 
61
64
    using PersonCache = core::PersistentCache<Person, string>;
62
65