mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
is sstream really always required?
This commit is contained in:
parent
812d740b4d
commit
6f46945151
2 changed files with 2 additions and 5 deletions
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
#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,6 +1,8 @@
|
||||||
#include <doctest/doctest.h>
|
#include <doctest/doctest.h>
|
||||||
#include <greeter.h>
|
#include <greeter.h>
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
TEST_CASE("Greeter") {
|
TEST_CASE("Greeter") {
|
||||||
using namespace greeter;
|
using namespace greeter;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue