summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/files/patch-duration.cpp
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2014-04-28 11:39:52 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2014-04-28 11:39:52 +0000
commit0436ef631b72dd0f4546c793d38aaa6d02c8b70b (patch)
tree2b67ab5761a0045bec61f198bc178379610e0005 /benchmarks/bonnie++/files/patch-duration.cpp
parentAdd staging support (diff)
- Remove GCC dependency
- Fix several compilation warnings PR: ports/188678 Submitted by: Matthew Rezny <matthew@reztek.cz>
Diffstat (limited to 'benchmarks/bonnie++/files/patch-duration.cpp')
-rw-r--r--benchmarks/bonnie++/files/patch-duration.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/benchmarks/bonnie++/files/patch-duration.cpp b/benchmarks/bonnie++/files/patch-duration.cpp
new file mode 100644
index 000000000000..d24d13c0da1a
--- /dev/null
+++ b/benchmarks/bonnie++/files/patch-duration.cpp
@@ -0,0 +1,17 @@
+--- duration.cpp.orig 2009-08-21 18:45:50.068536643 +0000
++++ duration.cpp 2009-08-21 18:45:58.564755017 +0000
+@@ -1,5 +1,3 @@
+-using namespace std;
+-
+ #include <stdlib.h>
+
+ #include "duration.h"
+@@ -20,6 +18,8 @@
+ #endif
+ #endif
+
++using namespace std;
++
+ Duration_Base::Duration_Base()
+ : m_start(0.0)
+ , m_max(0.0)