mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
seriously?!
This commit is contained in:
parent
75e8f650ca
commit
812d740b4d
2 changed files with 5 additions and 5 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(WIN32)
|
||||||
|
// apparently this is required to use strings in MSVC++
|
||||||
|
# include <sstream>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace greeter {
|
namespace greeter {
|
||||||
|
|
||||||
enum class LanguageCode { EN, DE, ES, FR };
|
enum class LanguageCode { EN, DE, ES, FR };
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
#include <greeter.h>
|
#include <greeter.h>
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(WIN32)
|
|
||||||
// apparently this is required to concat strings
|
|
||||||
# include <sstream>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace greeter;
|
using namespace greeter;
|
||||||
|
|
||||||
Greeter::Greeter(std::string _name) : name(_name) {}
|
Greeter::Greeter(std::string _name) : name(_name) {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue