C++ interface inheritance problem
<p>Hey, i'm trying to create a c++ stomp client,
my client constructor is :</p>

<pre><code>Client(std::string &amp;server, short port, std::string &amp;login, std::string &amp;pass, Listener &amp;listener);
</code></pre>

<p>it gets a listener object which when Listener is the following interface :</p>

<pre><code>class Listener {

    virtual void message(StmpMessage message) =0;
};
</code></pre>

<p>now i attempt to instantiate a client in a test class :</p>

<pre><code>class test : public virtual Listener {
public:
    void message(StmpMessage message) {
        message.prettyPrint();
    }
     int main(int argc, char* argv[])
    {

        Client client("127.0.0.1", 61613, *this);
        return 0;
    }


};
</code></pre>

<p>i'm sending this to the client because this is a listener object,
i get the following error :</p>

<pre><code>/Users/mzruya/Documents/STOMPCPP/main.cpp:18: error: no matching function for call to 'Client::Client(const char [10], int, test&amp;)'
/Users/mzruya/Documents/STOMPCPP/Client.h:43: note: candidates are: Client::Client(std::string&amp;, short int, std::string&amp;, std::string&amp;, Listener&amp;)
/Users/mzruya/Documents/STOMPCPP/Client.h:37: note:                 Client::Client(const Client&amp;)
</code></pre>
