TemporaryDirectory: Expose boost::filesystem::path in class interface

This commit is contained in:
Kamil Śliwak
2021-05-12 18:08:17 +02:00
parent 5619702d31
commit cdebbb0dbb
6 changed files with 20 additions and 52 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ public:
protected:
TemporaryDirectory m_tempDir;
string const m_autosavePath = m_tempDir.memberPath("population-autosave.txt");
string const m_autosavePath = (m_tempDir.path() / "population-autosave.txt").string();
RandomisingAlgorithm m_algorithm;
};