Skip to content

Commit

Permalink
Removed legacy code (#2137)
Browse files Browse the repository at this point in the history
* Update meta.h

* Update json11.hpp
  • Loading branch information
StrikerRUS committed Apr 30, 2019
1 parent 739c263 commit a295f6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions include/LightGBM/json11.hpp
Expand Up @@ -56,18 +56,6 @@
#include <utility>
#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 {

enum JsonParse {
Expand Down
4 changes: 0 additions & 4 deletions include/LightGBM/meta.h
Expand Up @@ -62,10 +62,6 @@ typedef void(*AllgatherFunction)(char* input, comm_size_t input_size, const comm

#define NO_SPECIFIC (-1)

#if (_MSC_VER <= 1800)
#define __func__ __FUNCTION__
#endif

} // namespace LightGBM

#endif // LightGBM_META_H_

0 comments on commit a295f6b

Please sign in to comment.