Skip to content

Commit

Permalink
💾 λcommon v1.6.9: Windows fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Aug 26, 2018
1 parent 17d1fda commit a70f3b1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lambdacommon/lambdacommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#define LAMBDACOMMON_VERSION_MAJOR 1
#define LAMBDACOMMON_VERSION_MINOR 6
#define LAMBDACOMMON_VERSION_PATCH 8
#define LAMBDACOMMON_VERSION_PATCH 9

namespace lambdacommon
{
Expand Down
5 changes: 5 additions & 0 deletions include/lambdacommon/system/uri.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include "fs/filesystem.h"
#include "../connection/address.h"

#ifdef LAMBDA_WINDOWS
# pragma warning(push)
# pragma warning(disable:4101)
#endif

namespace lambdacommon
{
namespace uri
Expand Down
5 changes: 5 additions & 0 deletions src/lstring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include <utility>
#include <algorithm>

#ifdef LAMBDA_WINDOWS
# pragma warning(push)
# pragma warning(disable:4101)
#endif

namespace lambdacommon
{
namespace lambdastring
Expand Down
5 changes: 5 additions & 0 deletions src/resources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
#include <fstream>
#include <sstream>

#ifdef LAMBDA_WINDOWS
# pragma warning(push)
# pragma warning(disable:4101)
#endif

namespace lambdacommon
{
ResourceName::ResourceName(const std::string &name)
Expand Down
2 changes: 1 addition & 1 deletion src/system/terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ namespace lambdacommon
#ifdef WIN_FRIENDLY
TCHAR currentTitle[MAX_PATH];
if (GetConsoleTitle(currentTitle, MAX_PATH))
return string(currentTitle);
return {currentTitle};
else
return "";
#else
Expand Down

0 comments on commit a70f3b1

Please sign in to comment.