diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 0902828269fb1a42ed23c208fd61bac76aaddc13 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /performance-tests/TTCP | |
parent | e7788cff873f30e65d44d38db7cfafc175f748a3 (diff) | |
download | ATCD-0902828269fb1a42ed23c208fd61bac76aaddc13.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'performance-tests/TTCP')
-rw-r--r-- | performance-tests/TTCP/ORBeline/ttcp_i.h | 6 | ||||
-rw-r--r-- | performance-tests/TTCP/Orbix/ttcp_i.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/performance-tests/TTCP/ORBeline/ttcp_i.h b/performance-tests/TTCP/ORBeline/ttcp_i.h index b7a82a1b84a..0a4ed7b4b5c 100644 --- a/performance-tests/TTCP/ORBeline/ttcp_i.h +++ b/performance-tests/TTCP/ORBeline/ttcp_i.h @@ -5,7 +5,7 @@ // ttcp_i.C // implementation of the ttcp and Profile_Logger objects. -#if !defined (TTCP_I_H) +#ifndef TTCP_I_H #define TTCP_I_H // This is a total hack... @@ -16,7 +16,7 @@ class ttcp_string_i : public ttcp_string_impl { public: - ttcp_string_i(); + ttcp_string_i(); virtual void send(const CORBA::String& ttcp_string); virtual void send_hack(const CORBA::String& ttcp_string); @@ -30,7 +30,7 @@ private: class ttcp_sequence_i : public ttcp_sequence_impl { public: - ttcp_sequence_i(); + ttcp_sequence_i(); virtual void send(const ttcp_sequence::my_sequence& ttcp_seq); virtual void send_hack(const CORBA::String& ttcp_string); diff --git a/performance-tests/TTCP/Orbix/ttcp_i.h b/performance-tests/TTCP/Orbix/ttcp_i.h index 5db365ee4d1..b9caf2135a5 100644 --- a/performance-tests/TTCP/Orbix/ttcp_i.h +++ b/performance-tests/TTCP/Orbix/ttcp_i.h @@ -3,14 +3,14 @@ // ttcp_i.C -// +// -#if !defined (TTCP_I_H) +#ifndef TTCP_I_H #define TTCP_I_H #include "ttcp.hh" -class ttcp_sequence_i +class ttcp_sequence_i : virtual public ttcp_sequenceBOAImpl { public: @@ -25,7 +25,7 @@ private: // DEF_TIE_ttcp_sequence (ttcp_sequence_i); -class ttcp_string_i +class ttcp_string_i : virtual public ttcp_stringBOAImpl { public: |