From 1098f92d35a6aa473e70a6f2e28908334fbaf716 Mon Sep 17 00:00:00 2001 From: Jan Willamowius <jan@willamowius.de> Date: ćšć, 18 4æ 2019 00:35:32 +0800 Subject: [PATCH] don't generate new key, if key already exists --- src/library/LicenseReader.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/LicenseReader.h b/src/library/LicenseReader.h index 10b4f0e..0d70f2f 100644 --- a/src/library/LicenseReader.h +++ b/src/library/LicenseReader.h @@ -2,7 +2,7 @@ * LicenseReader.h * * Created on: Mar 30, 2014 - * Author: devel + * */ #ifndef LICENSEREADER_H_ @@ -35,7 +35,7 @@ bool has_client_sig; string extra_data; - static constexpr const char* UNUSED_TIME = "0000-00-00"; + static const char* UNUSED_TIME; static const unsigned int UNUSED_SOFTWARE_VERSION = 0; FullLicenseInfo(const string& source, const string& product, -- Gitblit v1.9.1