diff options
Diffstat (limited to 'TAO/examples/Advanced/ch_21')
-rw-r--r-- | TAO/examples/Advanced/ch_21/icp.cpp | 3 | ||||
-rw-r--r-- | TAO/examples/Advanced/ch_21/server.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/TAO/examples/Advanced/ch_21/icp.cpp b/TAO/examples/Advanced/ch_21/icp.cpp index 892857db7b0..2cb291765f9 100644 --- a/TAO/examples/Advanced/ch_21/icp.cpp +++ b/TAO/examples/Advanced/ch_21/icp.cpp @@ -146,8 +146,7 @@ public: const StateMap::iterator & pos ) : m_pos(pos) {} bool operator()( - pair<const unsigned long, DeviceState> & p - ) const + pair<const unsigned long, DeviceState> & p) const { return( p.second.type == thermostat diff --git a/TAO/examples/Advanced/ch_21/server.h b/TAO/examples/Advanced/ch_21/server.h index 4935b052223..f0c94184bc1 100644 --- a/TAO/examples/Advanced/ch_21/server.h +++ b/TAO/examples/Advanced/ch_21/server.h @@ -140,8 +140,7 @@ private: const char * str ) : m_sc(sc), m_str(str) {} bool operator()( - CCS::AssetType anum - ) const + CCS::AssetType anum) const { char buf[32]; switch (m_sc) { |