- store string by value

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@617 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-11-07 13:13:33 +00:00
parent d5959d9ea2
commit 30555df649
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ public:
return m_bh.n_elem;
}
private:
const std::string &m_name;
std::string m_name;
std::string m_weightsFile;
size_t m_id;
size_t m_numVisibleX;