summaryrefslogtreecommitdiff
path: root/ace/Handle_Set.h
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 /ace/Handle_Set.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Handle_Set.h')
-rw-r--r--ace/Handle_Set.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/ace/Handle_Set.h b/ace/Handle_Set.h
index 3c809e4e5e0..d46cfcd44f7 100644
--- a/ace/Handle_Set.h
+++ b/ace/Handle_Set.h
@@ -5,13 +5,13 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// Handle_Set.h
//
// = AUTHOR
-// Doug Schmidt
-//
+// Doug Schmidt
+//
// ============================================================================
#ifndef ACE_HANDLE_SET_H
@@ -20,19 +20,19 @@
#include "ace/ACE.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-class ACE_Export ACE_Handle_Set
+class ACE_Export ACE_Handle_Set
{
// = TITLE
// C++ wrapper for the socket <FD_SET> abstraction.
public:
friend class ACE_Handle_Set_Iterator;
- // = Initialization and termination.
+ // = Initialization and termination.
- enum
+ enum
{
MAXSIZE = ACE_DEFAULT_SELECT_REACTOR_SIZE
};
@@ -128,7 +128,7 @@ private:
class ACE_Export ACE_Handle_Set_Iterator
{
// = TITLE
- // Iterator for the <ACE_Handle_Set> abstraction.
+ // Iterator for the <ACE_Handle_Set> abstraction.
public:
ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs);
// Constructor.
@@ -158,11 +158,11 @@ private:
// The <Handle_Set> we are iterating through.
#if defined (ACE_WIN32)
- u_int handle_index_;
-#elif !defined (ACE_HAS_BIG_FD_SET)
- int handle_index_;
+ u_int handle_index_;
+#elif !defined (ACE_HAS_BIG_FD_SET)
+ int handle_index_;
#elif defined (ACE_HAS_BIG_FD_SET)
- int handle_index_;
+ int handle_index_;
u_long oldlsb_;
#endif /* ACE_WIN32 */
// Index of the bit we're examining in the current <word_num_> word.