@@ -12,7 +12,7 @@ using namespace std;
12
12
13
13
namespace
14
14
{
15
- Cluster1D<string> createCluster ( float pos, float err, float weight, string name )
15
+ inline Cluster1D<string> createCluster ( float pos, float err, float weight, string name )
16
16
{
17
17
vector < const string * > names;
18
18
names.push_back ( new string (name) );
@@ -39,7 +39,7 @@ Cluster1D<string> createCluster ( float pos, float err, float weight )
39
39
return ret;
40
40
}
41
41
42
- void deleteCluster ( vector < Cluster1D<string> > & clus )
42
+ inline void deleteCluster ( vector < Cluster1D<string> > & clus )
43
43
{
44
44
cout << " [Deleting Sequence] ..." << flush;
45
45
for ( vector< Cluster1D<string> >::const_iterator i=clus.begin ();
@@ -106,7 +106,7 @@ vector < Cluster1D<string> > fourItems()
106
106
* In this function the user gives the name of
107
107
* the "secnario"
108
108
*/
109
- vector < Cluster1D<string> > createInput ( string name )
109
+ inline vector < Cluster1D<string> > createInput ( string name )
110
110
{
111
111
// that's a map that maps the function to ordinary names.
112
112
map < string, vector < Cluster1D<string> > (*)() > inputs;
@@ -133,7 +133,7 @@ vector < Cluster1D<string> > createInput( string name )
133
133
/* *
134
134
* The user gives the number of clusters
135
135
*/
136
- vector < Cluster1D<string> > createInput ( int n )
136
+ inline vector < Cluster1D<string> > createInput ( int n )
137
137
{
138
138
vector < Cluster1D<string> > ret;
139
139
for ( int i=0 ; i< n ; ++i )
0 commit comments