Commit e00b56dd authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Add accessor for Flushing cache

parent cc0e0d56
......@@ -356,3 +356,8 @@ const char* cmDynamicLoader::LastError()
return dlerror();
}
#endif
void cmDynamicLoader::FlushCache()
{
cmDynamicLoaderCache::GetInstance()->FlushCache();
}
......@@ -69,6 +69,10 @@ public:
// Description:
// Return the last error produced from a calls made on this class.
static const char* LastError();
// Description:
// Flush the cache of dynamic loader.
static void FlushCache();
protected:
cmDynamicLoader() {};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment