Use a variable on the stack to not have a temporary in the call
[ACE_TAO.git] / ACE / protocols / ace / INet / HTTPS_URL.inl
blob3c63508f070116c8e6364f80f939dcdbf7a5ebdc
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace ACE
6   namespace HTTPS
7   {
9     ACE_INLINE
10     const ACE_CString& URL::get_scheme () const
11       {
12         return protocol ();
13       }
15     ACE_INLINE
16     u_short URL::default_port () const
17       {
18         return HTTPS_PORT;
19       }
21   }
24 ACE_END_VERSIONED_NAMESPACE_DECL