summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-04-29 11:34:48 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-04-29 11:34:48 +0200
commitae4bd945a234a175b54dafb1cb54678b7cc67639 (patch)
tree20b02a85c31de92975667c3100b98af8719fc8f1 /TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
parente12779d807b00fdc1b69a224dd92ff58d5e20906 (diff)
downloadATCD-ae4bd945a234a175b54dafb1cb54678b7cc67639.tar.gz
Removed not used auto_ptr member, use delete instead of ACE_UNIMPLEMENTED_FUNC, layout changes, fixed typos in comments
* ACE/examples/ASX/UPIPE_Event_Server/Peer_Router.h: * ACE/netsvcs/lib/Log_Message_Receiver.h: * ACE/performance-tests/TCP/tcp_test.cpp: * TAO/orbsvcs/Trading_Service/README: * TAO/orbsvcs/Trading_Service/Trading_Server.cpp: * TAO/orbsvcs/Trading_Service/Trading_Service.cpp: * TAO/orbsvcs/Trading_Service/Trading_Service.h: * TAO/orbsvcs/orbsvcs/AV/AVStreams_i.h: * TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp: * TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h: * TAO/orbsvcs/orbsvcs/Trader/Constraint_Nodes.h: * TAO/orbsvcs/orbsvcs/Trader/Constraint_Visitors.h: * TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h: * TAO/orbsvcs/orbsvcs/Trader/Trader.h: * TAO/orbsvcs/orbsvcs/Trader/Trader_Constraint_Visitors.h: * TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.h: * TAO/orbsvcs/orbsvcs/Trader/Trader_T.h: * TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.h: * TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp: * TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.h: * TAO/orbsvcs/tests/Trading/Simple_Dynamic.h: * TAO/tao/RTCORBA/Network_Priority_Mapping_Manager.h: * TAO/tao/RTCORBA/Priority_Mapping_Manager.h: * TAO/tao/RTScheduling/RTScheduler_Manager.h:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h b/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
index bb675e18a5c..2d056734fcc 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
+++ b/TAO/orbsvcs/orbsvcs/Trader/Offer_Database.h
@@ -55,9 +55,9 @@ public:
typedef TAO_Service_Offer_Iterator<LOCK_TYPE> offer_iterator;
/// No arg constructor.
- TAO_Offer_Database (void);
+ TAO_Offer_Database ();
- ~TAO_Offer_Database (void);
+ ~TAO_Offer_Database ();
/// Add an offer of type @ type and generate a CosTrading::OfferId
/// for it. Returns 0 on failure.
@@ -100,7 +100,6 @@ public:
Offer_Database;
private:
-
// The internal id is a pointer here, not only to avoid copying,
// since we would only copy on insertion, and we only insert once
// --- with an empty Offer_Map_Entry --- but also since most locks
@@ -130,8 +129,8 @@ private:
CORBA::ULong& id);
// = Disallow these operations.
- ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_Offer_Database<LOCK_TYPE> &))
- ACE_UNIMPLEMENTED_FUNC (TAO_Offer_Database (const TAO_Offer_Database<LOCK_TYPE> &))
+ void operator= (const TAO_Offer_Database<LOCK_TYPE> &) = delete;
+ TAO_Offer_Database (const TAO_Offer_Database<LOCK_TYPE> &) = delete;
LOCK_TYPE db_lock_;
@@ -150,8 +149,7 @@ private:
template <class LOCK_TYPE>
class TAO_Service_Offer_Iterator
{
- public:
-
+public:
typedef TAO_Offer_Database<LOCK_TYPE> Offer_Database;
TAO_Service_Offer_Iterator (const char* type,