File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ ParsedVersion parseVersion(const std::string_view version) {
2525
2626
2727std::string project::modifyDateString () const {
28+ if (modifiedDate == std::numeric_limits<decltype (modifiedDate)>::min ()) {
29+ return " ???" ;
30+ }
2831#if _WIN32
2932 long
3033#endif
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ project MainFrameDerived::LoadProject(const std::filesystem::path &p_as_fs){
531531 }
532532
533533 // get the modification date
534- int64_t modifyDate;
534+ int64_t modifyDate = std::numeric_limits< decltype (project::modifiedDate)>:: min () ;
535535 struct stat fileInfo {};
536536 if (filesystem::exists (p_as_fs)) {
537537 if (stat (p_as_fs.string ().c_str (), &fileInfo) == 0 ) {
You can’t perform that action at this time.
0 commit comments