Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
4171abac
Unverified
Commit
4171abac
authored
6 years ago
by
DavidFair
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Re #0 Remove superflous macro from testing
parent
c4b60e60
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MantidPlot/src/ProjectRecovery.cpp
+1
-3
1 addition, 3 deletions
MantidPlot/src/ProjectRecovery.cpp
with
1 addition
and
3 deletions
MantidPlot/src/ProjectRecovery.cpp
+
1
−
3
View file @
4171abac
...
@@ -67,7 +67,7 @@ std::string getTimeStamp() {
...
@@ -67,7 +67,7 @@ std::string getTimeStamp() {
auto
time
=
std
::
time
(
nullptr
);
auto
time
=
std
::
time
(
nullptr
);
auto
localTime
=
std
::
localtime
(
&
time
);
auto
localTime
=
std
::
localtime
(
&
time
);
#if
_MSC_VER ||
__GNUG__ && __GNUG__ < 5
#if __GNUG__ && __GNUG__ < 5
// Have to workaround GCC 4 not having std::put_time on RHEL7
// Have to workaround GCC 4 not having std::put_time on RHEL7
// this ifdef can be removed when RHEL7 uses a newer compiler
// this ifdef can be removed when RHEL7 uses a newer compiler
char
timestamp
[
20
];
char
timestamp
[
20
];
...
@@ -322,8 +322,6 @@ void ProjectRecovery::saveWsHistories(const Poco::Path &historyDestFolder) {
...
@@ -322,8 +322,6 @@ void ProjectRecovery::saveWsHistories(const Poco::Path &historyDestFolder) {
return
;
return
;
}
}
using
Mantid
::
API
::
WorkspaceHistory
;
static
auto
startTime
=
static
auto
startTime
=
Mantid
::
Kernel
::
UsageService
::
Instance
().
getStartTime
().
toISO8601String
();
Mantid
::
Kernel
::
UsageService
::
Instance
().
getStartTime
().
toISO8601String
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment