summaryrefslogtreecommitdiff
path: root/ACE/ace/Unbounded_Queue.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-03 19:46:05 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-03 19:46:05 +0000
commit64e50d000d5e189c47416da8e542c554d33f931f (patch)
treeb05363f382283b9757202be6e4ac2c8d3c599c97 /ACE/ace/Unbounded_Queue.inl
parent4b6356b8f80b8e23aeb90fa0e59f05411272dff2 (diff)
downloadATCD-64e50d000d5e189c47416da8e542c554d33f931f.tar.gz
Tue Feb 3 19:45:17 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Acceptor.h: * ace/Active_Map_Manager_T.h: * ace/CDR_Stream.h: * ace/Configuration.h: * ace/Connector.h: * ace/Dev_Poll_Reactor.h: * ace/Dirent.h: * ace/Map_T.h: * ace/Message_Block.h: * ace/Message_Queue_Vx.h: * ace/Name_Request_Reply.h: * ace/Reactor.h: * ace/Reactor_Impl.h: * ace/Select_Reactor_Base.h: * ace/Select_Reactor_T.h: * ace/Strategies_T.h: * ace/WFMO_Reactor.h: Doxygen changes * ace/Unbounded_Queue.h: * ace/Unbounded_Queue.inl: Use bool
Diffstat (limited to 'ACE/ace/Unbounded_Queue.inl')
-rw-r--r--ACE/ace/Unbounded_Queue.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Unbounded_Queue.inl b/ACE/ace/Unbounded_Queue.inl
index 35bb7fb9cdf..b7d814e9780 100644
--- a/ACE/ace/Unbounded_Queue.inl
+++ b/ACE/ace/Unbounded_Queue.inl
@@ -10,18 +10,18 @@ ACE_Unbounded_Queue<T>::size (void) const
return this->cur_size_;
}
-template <class T> ACE_INLINE int
+template <class T> ACE_INLINE bool
ACE_Unbounded_Queue<T>::is_empty (void) const
{
// ACE_TRACE ("ACE_Unbounded_Queue<T>::is_empty");
return this->head_ == this->head_->next_;
}
-template <class T> ACE_INLINE int
+template <class T> ACE_INLINE bool
ACE_Unbounded_Queue<T>::is_full (void) const
{
// ACE_TRACE ("ACE_Unbounded_Queue<T>::is_full");
- return 0; // We should implement a "node of last resort for this..."
+ return false; // We should implement a "node of last resort for this..."
}
ACE_END_VERSIONED_NAMESPACE_DECL