Unverified Commit a295f6b0 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

Removed legacy code (#2137)

* Update meta.h

* Update json11.hpp
parent 739c2635
...@@ -56,18 +56,6 @@ ...@@ -56,18 +56,6 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#ifdef _MSC_VER
#if _MSC_VER <= 1800 // VS 2013
#ifndef noexcept
#define noexcept throw()
#endif
#ifndef snprintf
#define snprintf _snprintf_s
#endif
#endif
#endif
namespace json11 { namespace json11 {
enum JsonParse { enum JsonParse {
......
...@@ -62,10 +62,6 @@ typedef void(*AllgatherFunction)(char* input, comm_size_t input_size, const comm ...@@ -62,10 +62,6 @@ typedef void(*AllgatherFunction)(char* input, comm_size_t input_size, const comm
#define NO_SPECIFIC (-1) #define NO_SPECIFIC (-1)
#if (_MSC_VER <= 1800)
#define __func__ __FUNCTION__
#endif
} // namespace LightGBM } // namespace LightGBM
#endif // LightGBM_META_H_ #endif // LightGBM_META_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment