chokkan/crfsuite — Issue #4: missing inline
Author: unnonouno
Created: 2012-01-18 12:46:38+00:00
State: open

In crfsuite.hpp, all definition of member functions such as Trainer::Trainer are not inline functions. So, when multiple source files include crfsuite.hpp, the c++ compiler reports duplicated symbols of these member functions.
Please add "inline" to all the member functions defined in the header like this:

```
@@ -44,6 +44,7 @@
namespace CRFSuite
{

+inline
Trainer::Trainer()
{
data = new crfsuite_data_t;
```

Thanks.