diff --git a/src/version.hpp.in b/src/version.hpp.in index cec7915..ec2ea02 100644 --- a/src/version.hpp.in +++ b/src/version.hpp.in @@ -1,9 +1,13 @@ -#ifndef VERSION_HPP -#define VERSION_HPP +#ifndef MASTORSS_VERSION_HPP +#define MASTORSS_VERSION_HPP -namespace global +#include + +namespace mastorss { - static constexpr char version[] = "@PROJECT_VERSION@"; -} +using std::string_view; -#endif // VERSION_HPP +static constexpr string_view version = "@PROJECT_VERSION@"; +} // namespace mastorss + +#endif // MASTORSS_VERSION_HPP