mirror of
https://github.com/JHUAPL/kami.git
synced 2026-01-08 14:33:53 -05:00
Move the version information into an anonymous namespace
This effectively makes it a private member of the class.
This commit is contained in:
@@ -55,12 +55,14 @@
|
||||
|
||||
namespace kami {
|
||||
|
||||
/**
|
||||
* @brief A reference copy of the current version of Kami
|
||||
*
|
||||
* @return the version as a `semver` object
|
||||
*/
|
||||
constexpr auto version = semver::version{KAMI_VERSION_MAJOR, KAMI_VERSION_MINOR, KAMI_VERSION_PATCH};
|
||||
namespace {
|
||||
/**
|
||||
* @brief A reference copy of the current version of Kami
|
||||
*
|
||||
* @return the version as a `semver` object
|
||||
*/
|
||||
constexpr auto version = semver::version{KAMI_VERSION_MAJOR, KAMI_VERSION_MINOR, KAMI_VERSION_PATCH};
|
||||
}
|
||||
|
||||
} // namespace kami
|
||||
|
||||
|
||||
Reference in New Issue
Block a user