1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

windoof dll export is not as easy as it should!

This commit is contained in:
ClausKlein 2021-02-15 19:50:26 +01:00
parent ab83f20c29
commit ae2d022801
2 changed files with 3 additions and 2 deletions

View file

@ -13,6 +13,7 @@ namespace greeter {
* @brief A class for saying hello in multiple languages
*/
class GREETER_EXPORT Greeter {
protected:
std::string name;
public:
@ -20,7 +21,7 @@ namespace greeter {
* @brief Creates a new greeter
* @param name the name to greet
*/
explicit Greeter(std::string name);
explicit Greeter(std::string _name);
/**
* @brief Creates a localized string containing the greeting