Skip to content
Snippets Groups Projects
Verified Commit e6359e10 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

utils/version: add missing inline

parent bff7cd52
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ namespace pinocchio
/// the following standard:
/// PINOCCHIO_MINOR_VERSION.PINOCCHIO_MINOR_VERSION.PINOCCHIO_PATCH_VERSION
///
std::string printVersion(const std::string & delimiter = ".")
inline std::string printVersion(const std::string & delimiter = ".")
{
std::ostringstream oss;
oss
......@@ -39,9 +39,9 @@ namespace pinocchio
/// \returns true if the current version of Pinocchio is greater than the version provided
/// by the input arguments.
///
bool checkVersionAtLeast(unsigned int major_version,
unsigned int minor_version,
unsigned int patch_version)
inline bool checkVersionAtLeast(unsigned int major_version,
unsigned int minor_version,
unsigned int patch_version)
{
return
PINOCCHIO_MAJOR_VERSION > major_version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment