summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-12 07:30:27 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-12 07:30:27 +0000
commitf2848f93bdf0cb822c6a24dad9cbdc38e613e936 (patch)
tree144197f6aee73ef6aa3a0e63cb5dcd77b40e0da1 /netsvcs
parent11f50345732a95fd5f7f24cc09b88d238d46f855 (diff)
downloadATCD-f2848f93bdf0cb822c6a24dad9cbdc38e613e936.tar.gz
*** empty log message ***
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/Log_Message_Receiver.cpp16
-rw-r--r--netsvcs/lib/Log_Message_Receiver.h10
2 files changed, 13 insertions, 13 deletions
diff --git a/netsvcs/lib/Log_Message_Receiver.cpp b/netsvcs/lib/Log_Message_Receiver.cpp
index 095431c624e..9683460ead3 100644
--- a/netsvcs/lib/Log_Message_Receiver.cpp
+++ b/netsvcs/lib/Log_Message_Receiver.cpp
@@ -42,7 +42,7 @@ template<ACE_SYNCH_1> inline
Log_Message_Receiver_Impl<ACE_SYNCH_2> *
Log_Message_Receiver_Impl<ACE_SYNCH_2>::attach (Log_Message_Receiver_Impl<ACE_SYNCH_2> *body)
{
- assert(body != 0);
+ ACE_ASSERT (body != 0);
#if defined (ACE_HAS_THREADS)
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
@@ -59,7 +59,7 @@ Log_Message_Receiver_Impl<ACE_SYNCH_2>::attach (Log_Message_Receiver_Impl<ACE_SY
template<ACE_SYNCH_1> inline void
Log_Message_Receiver_Impl<ACE_SYNCH_2>::detach(Log_Message_Receiver_Impl<ACE_SYNCH_2> *body)
{
- assert (body != 0);
+ ACE_ASSERT (body != 0);
#if defined (ACE_HAS_THREADS)
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
@@ -85,14 +85,14 @@ Log_Message_Receiver_Impl<ACE_SYNCH_2>::log_record (char const *hostname,
template<ACE_SYNCH_1> inline
Log_Message_Receiver_Impl<ACE_SYNCH_2>::~Log_Message_Receiver_Impl (void)
{
- assert (count_ == 0 - 1);
+ ACE_ASSERT (count_ == 0 - 1);
}
template<ACE_SYNCH_1>
-Log_Message_Receiver<ACE_SYNCH_2>::Log_Message_Receiver()
+Log_Message_Receiver<ACE_SYNCH_2>::Log_Message_Receiver (void)
: receiver_impl_ (Log_Message_Receiver_Impl<ACE_SYNCH_2>::create ())
{
- assert (receiver_impl_ != 0);
+ ACE_ASSERT (receiver_impl_ != 0);
}
template<ACE_SYNCH_1>
@@ -100,7 +100,7 @@ Log_Message_Receiver<ACE_SYNCH_2>::Log_Message_Receiver
(Log_Message_Receiver<ACE_SYNCH_2> const &rhs)
: receiver_impl_ (Log_Message_Receiver_Impl<ACE_SYNCH_2>::attach (rhs.receiver_impl_))
{
- assert (receiver_impl_ != 0);
+ ACE_ASSERT (receiver_impl_ != 0);
}
// Type based log message receiver
@@ -108,14 +108,14 @@ template<ACE_SYNCH_1> void
Log_Message_Receiver<ACE_SYNCH_2>::log_record(char const *hostname,
ACE_Log_Record &record)
{
- assert (receiver_impl_ != 0);
+ ACE_ASSERT (receiver_impl_ != 0);
receiver_impl_->log_record (hostname, record);
}
template<ACE_SYNCH_1>
Log_Message_Receiver<ACE_SYNCH_2>::~Log_Message_Receiver (void)
{
- assert (receiver_impl_ != 0);
+ ACE_ASSERT (receiver_impl_ != 0);
Log_Message_Receiver_Impl<ACE_SYNCH_2>::detach (receiver_impl_);
}
diff --git a/netsvcs/lib/Log_Message_Receiver.h b/netsvcs/lib/Log_Message_Receiver.h
index 0dcbb98e68e..416337a4ae2 100644
--- a/netsvcs/lib/Log_Message_Receiver.h
+++ b/netsvcs/lib/Log_Message_Receiver.h
@@ -143,7 +143,7 @@ public:
void log_record (const char *hostname,
ACE_Log_Record &record);
private:
- void operator= (const Log_Message_Receiver<ACE_SYNCH_2> &rhs);
+ ACE_UNIMPLEMENTED_FUNC (void operator= (const Log_Message_Receiver<ACE_SYNCH_2> &rhs))
// Attributes.
Log_Message_Receiver_Impl<ACE_SYNCH_2> *receiver_impl_;
@@ -168,10 +168,6 @@ private:
Log_Message_Receiver_Impl (void);
~Log_Message_Receiver_Impl (void);
- // = Not implemeted
- Log_Message_Receiver_Impl (const Log_Message_Receiver_Impl<ACE_SYNCH_2> &rhs);
- void operator=(const Log_Message_Receiver_Impl<ACE_SYNCH_2> &rhs);
-
typedef ACE_Guard<ACE_SYNCH_MUTEX_T> Guard;
// Attributes
int count_;
@@ -180,6 +176,10 @@ private:
#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES)
static ACE_SYNCH_MUTEX_T copy_lock_;
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
+
+ // = Not implemeted
+ ACE_UNIMPLEMENTED_FUNC (Log_Message_Receiver_Impl (const Log_Message_Receiver_Impl<ACE_SYNCH_2> &rhs))
+ ACE_UNIMPLEMENTED_FUNC (void operator=(const Log_Message_Receiver_Impl<ACE_SYNCH_2> &rhs))
};
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)