int compare_no_case(string const & s, string const & s2, unsigned int len);
///
-inline int compare(char const * a, char const * b)
+inline
+int compare(char const * a, char const * b)
{
return strcmp(a, b);
}
///
-inline int compare(char const * a, char const * b, unsigned int len)
+inline
+int compare(char const * a, char const * b, unsigned int len)
{
return strncmp(a, b, len);
}
/// convert T to string
template<typename T>
-inline string tostr(T const & t)
+inline
+string tostr(T const & t)
{
#ifdef HAVE_SSTREAM
ostringstream ostr;
return ostr.str().c_str();
// We need to use the .c_str since we sometimes are using
// our own string class and that is not compatible with
- // basic_string<char>.
+ // basic_string<char>. (of course we don't want this later)
#else
// The buf is probably a bit large, but if we want to be safer
// we should leave it this big. As compiler/libs gets updated