Hi Artyom,
Right now it looks like following in recaptcha.h
recaptcha();
virtual ~recaptcha();
///
/// Set Public Key - Required
///
void public_key(std::string const &key);
///
/// Set Private Key - Required
///
void private_key(std::string const &key);
while it should be
recaptcha(const std::string& public_key, const std::string
private_key);
virtual ~recaptcha();
So that the object is initialized properly and two function calls are saved.
--
Respect,
Shiv Shankar Dayal
|