Skip to content

Instantly share code, notes, and snippets.

@dcherman
Created December 10, 2012 21:18
Show Gist options
  • Save dcherman/4253509 to your computer and use it in GitHub Desktop.
Save dcherman/4253509 to your computer and use it in GitHub Desktop.
FB::VariantMap PluginTest::test() {
return FB::variant_map_of( "1", "1")( "2", "2" );
}
error C2664: 'std::map<_Kty,_Ty>::map(const std::map<_Kty,_Ty> &)' :
cannot convert parameter 1 from 'FB::detail::VariantMapInserter<T>' to 'const std::map<_Kty,_Ty> &'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment