mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-07-23 10:43:21 -05:00
Fix warning: ignoring '#pragma warning ' (#11)
* Fix warning: ignoring '#pragma warning ' * Remove redundant macro test
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user