Commit 56cd32d8 authored by atraczyk's avatar atraczyk

build: fix template specialization error on Windows native build

- prevents error C2910 which disallows explicit specialization of
  a member function outside the class if the function has already
  been explicitly specialized via a template class specialization.

Tuleap: #790

Change-Id: Idde2413707abf0ef65a3445ea1d577c0394c7121
parent e0f5c89b
......@@ -228,9 +228,15 @@ class RingAccount : public SIPAccountBase {
* The type of this instance is given in template argument.
* This type can be any base class of SIPCall class (included).
*/
template <class T=SIPCall>
std::shared_ptr<enable_if_base_of<T, SIPCall> >
newOutgoingCall(const std::string& toUrl);
#ifndef RING_UWP
template <class T=SIPCall>
std::shared_ptr<enable_if_base_of<T, SIPCall> >
newOutgoingCall(const std::string& toUrl);
#else
template <class T>
std::shared_ptr<T>
newOutgoingCall(const std::string& toUrl);
#endif
/**
* Create incoming SIPCall.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment