Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / apps / JAWS / clients / Caching / Local_Locator.inl
blobad3dcc108a331195d457b48717bc7ded2195edab
1 // -*- C++ -*-
2 ACE_INLINE
3 ACE_URL_Record::ACE_URL_Record ()
4   : id_ (0),
5     offer_ (0)
9 ACE_INLINE
10 ACE_URL_Record::ACE_URL_Record (ACE_URL_Offer *offer)
11   : offer_ (offer)
13   char buf[ACE_OFFER_ID_LENGTH];
15   ACE_NEW (this->id_, ACE_WString (ACE_ID_Generator::get_new_id (buf)));
18 ACE_INLINE
19 ACE_URL_Record::~ACE_URL_Record ()
21   delete this->id_;
22   delete this->offer_;
25 ACE_INLINE bool
26 ACE_URL_Record::operator== (const ACE_URL_Record &rhs) const
28   return this == &rhs || *this->id_ == *rhs.id_;
31 ACE_INLINE bool
32 ACE_URL_Record::operator!= (const ACE_URL_Record &rhs) const
34   return !(*this == rhs);
37 ACE_INLINE
38 ACE_URL_Local_Locator::~ACE_URL_Local_Locator ()