mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-04-22 00:13:01 -05:00
Fix warning: ignoring '#pragma warning ' (#11)
* Fix warning: ignoring '#pragma warning ' * Remove redundant macro test
This commit is contained in:
parent
9edb758ca8
commit
b0046755bd
@ -2,12 +2,12 @@
|
||||
|
||||
#include "libcron/CronData.h"
|
||||
#include <chrono>
|
||||
#ifdef _WIN32
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4244)
|
||||
#endif
|
||||
#include <date/date.h>
|
||||
#ifdef _WIN32
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
@ -51,4 +51,4 @@ namespace libcron
|
||||
CronData data;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user