File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ std::string CopyrightHolders(const std::string& strPrefix);
45
45
/* * Returns licensing information (for -version) */
46
46
std::string LicenseInfo ();
47
47
48
- static const int64_t SECONDS_PER_YEAR = 31558060 ;
49
- static const int POSIX_EPOCH_YEAR = 1970 ;
50
- static const int64_t DEFAULT_SOFTWARE_EXPIRY = ((COPYRIGHT_YEAR - POSIX_EPOCH_YEAR) * SECONDS_PER_YEAR) + (SECONDS_PER_YEAR * 2 );
48
+ static constexpr int64_t SECONDS_PER_YEAR = 31558060 ;
49
+ static constexpr int POSIX_EPOCH_YEAR = 1970 ;
50
+ static constexpr int64_t DEFAULT_SOFTWARE_EXPIRY_OFFSET = 26784000 ; // Around Nov 7
51
+ static constexpr int64_t DEFAULT_SOFTWARE_EXPIRY = ((COPYRIGHT_YEAR - POSIX_EPOCH_YEAR) * SECONDS_PER_YEAR) + (SECONDS_PER_YEAR * 2 ) + DEFAULT_SOFTWARE_EXPIRY_OFFSET;
51
52
extern int64_t g_software_expiry;
52
53
53
54
bool IsThisSoftwareExpired (int64_t nTime);
You can’t perform that action at this time.
0 commit comments