[Solved] Get error say no match for call in c++ [closed]


You asked Eclipse to find the class definition, and it found it.
Your problem lies in pluginConfig.

I’m guessing you have written

FixedPluginConfig pluginConfig;
pluginConfig(FixedPluginConfig(".", "createClientFactory"));

which won’t work, because a FixedPluginConfig isn’t something that can be called with a FixedPluginConfig argument. Hence the “no match for call” error message.

What you probably mean is

FixedPluginConfig pluginConfig(".", "createClientFactory");

1

solved Get error say no match for call in c++ [closed]