Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Time_Policy.cpp
blob98be1d5b52adb15d94372cb3d3d5d518116c93ca
1 #include "ace/Time_Policy.h"
3 #if !defined(__ACE_INLINE__)
4 # include "ace/Time_Policy.inl"
5 #endif /* __ACE_INLINE__ */
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 ACE_Dynamic_Time_Policy_Base::~ACE_Dynamic_Time_Policy_Base ()
14 class NULL_Time_Policy : public ACE_Dynamic_Time_Policy_Base
16 protected:
17 ACE_Time_Value_T<ACE_Delegating_Time_Policy> gettimeofday () const override;
20 ACE_Time_Value_T<ACE_Delegating_Time_Policy> NULL_Time_Policy::gettimeofday () const
22 return ACE_Time_Value_T<ACE_Delegating_Time_Policy> (ACE_Time_Value::zero);
25 static NULL_Time_Policy null_policy_;
27 ACE_Delegating_Time_Policy::ACE_Delegating_Time_Policy (ACE_Dynamic_Time_Policy_Base const * delegate)
28 : delegate_ (delegate != 0 ? delegate : &null_policy_)
32 ACE_END_VERSIONED_NAMESPACE_DECL