Skip to content

Commit 22e9d03

Browse files
committed
Drop g_version in favour of GIT_VERSION
Signed-off-by: markuspg <markuspg@users.noreply.github.com>
1 parent 09b2776 commit 22e9d03

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

libuuu/version.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,14 @@
3636

3737
using namespace std;
3838

39-
static constexpr auto g_version = GIT_VERSION;
40-
4139
const char *uuu_get_version_string()
4240
{
43-
return g_version;
41+
return GIT_VERSION;
4442
}
4543

4644
int uuu_get_version()
4745
{
48-
string version_str{g_version};
46+
string version_str{GIT_VERSION};
4947

5048
// Find first dot because major version number must be before it
5149
auto pos = version_str.find(".");

0 commit comments

Comments
 (0)