Remove double (class and method) NGCORE_API

This commit is contained in:
Matthias Hochsteger 2019-01-07 13:49:59 +01:00
parent 74a4cd7d93
commit 8659e4aa84

View File

@ -45,7 +45,7 @@ namespace ngcore
}
/// INDEX of symbol name, throws exception if unused
NGCORE_API size_t Index (const std::string & name) const
size_t Index (const std::string & name) const
{
for (size_t i = 0; i < names.size(); i++)
if (names[i] == name) return i;
@ -53,7 +53,7 @@ namespace ngcore
}
/// Index of symbol name, returns -1 if unused
NGCORE_API int CheckIndex (const std::string & name) const
int CheckIndex (const std::string & name) const
{
for (int i = 0; i < names.size(); i++)
if (names[i] == name) return i;