1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-19 13:29:49 +00:00

Make functions virtual when building with testing.

This commit is contained in:
King_DuckZ 2017-06-05 23:02:39 +01:00
parent c302dbee73
commit fb27563fdd
6 changed files with 23 additions and 10 deletions

View file

@ -128,4 +128,10 @@ namespace tawashi {
return pastie;
}
#if defined(TAWASHI_WITH_TESTING)
const SettingsBag& Storage::settings() const {
return *m_settings;
}
#endif
} //namespace tawashi