[Cppcms-users] Recpatch construction
Brought to you by:
artyom-beilis
From: Shiv S. D. <shi...@gm...> - 2017-03-22 03:11:12
|
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 |