mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'tracer' of geras.asc.tuwien.ac.at:jschoeberl/netgen into tracer
This commit is contained in:
commit
19339a923d
@ -3,7 +3,6 @@
|
||||
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
#include <x86intrin.h> // for __rdtsc() CPU time step counter
|
||||
|
||||
#include "logging.hpp" // for logger
|
||||
#include "ngcore_api.hpp" // for NGCORE_API
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user