summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-31 13:15:23 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-12-31 13:15:23 +0000
commit1331267bfed91c9360fc48ae2f0378ffd6004f7b (patch)
treef719cf8c4668514e988a3d8429e6a61792232074 /protocols
parent7baa34a8423d1227cafff70223169c10b7ea50af (diff)
downloadATCD-1331267bfed91c9360fc48ae2f0378ffd6004f7b.tar.gz
ChangeLogTag: Wed Dec 31 07:13:25 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ace/TMCast/MTQueue.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/ace/TMCast/MTQueue.hpp b/protocols/ace/TMCast/MTQueue.hpp
index d593c034723..23116cac7d2 100644
--- a/protocols/ace/TMCast/MTQueue.hpp
+++ b/protocols/ace/TMCast/MTQueue.hpp
@@ -8,6 +8,7 @@
#include "ace/Auto_Ptr.h"
#include "ace/Unbounded_Set.h"
#include "ace/Unbounded_Queue.h"
+#include "ace/os_include/sys/os_types.h"
namespace TMCast
{
@@ -25,7 +26,7 @@ namespace TMCast
public:
- MTQueue (std::size_t hint = 0)
+ MTQueue (size_t hint = 0)
: mutexp_ (new MutexType),
mutex_ (*mutexp_),
// queue_ (hint),
@@ -34,7 +35,7 @@ namespace TMCast
{
}
- MTQueue (MutexType& mutex, std::size_t hint = 0)
+ MTQueue (MutexType& mutex, size_t hint = 0)
: mutexp_ (),
mutex_ (mutex),
// queue_ (hint),
@@ -50,7 +51,7 @@ namespace TMCast
return queue_.is_empty ();
}
- std::size_t
+ size_t
size () const
{
return queue_.size ();