Commit 6f1a592c by maarten

OPIA score toegevoegd aan stats programma

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@225 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 1242ce1d
......@@ -352,7 +352,8 @@ string Atom::property<string>(const string& name) const
template<>
int Atom::property<int>(const string& name) const
{
return stoi(mImpl->property(name));
auto v = mImpl->property(name);
return v.empty() ? 0 : stoi(v);
}
template<>
......
Markdown is supported
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