summaryrefslogtreecommitdiff
path: root/examples/Mem_Map/IO-tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /examples/Mem_Map/IO-tests
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'examples/Mem_Map/IO-tests')
-rw-r--r--examples/Mem_Map/IO-tests/IO_Test.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/Mem_Map/IO-tests/IO_Test.h b/examples/Mem_Map/IO-tests/IO_Test.h
index 659a85eec15..22dcf578d7f 100644
--- a/examples/Mem_Map/IO-tests/IO_Test.h
+++ b/examples/Mem_Map/IO-tests/IO_Test.h
@@ -5,6 +5,10 @@
#include "ace/Profile_Timer.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
/* Base class for all the File I/O tests. */
class IO_Test
@@ -21,8 +25,8 @@ public:
protected:
// Name of the test
- const char *name_;
-
+ const char *name_;
+
// Reference to a timer
ACE_Profile_Timer &tm_;
};