0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

changed type_set.h to use cstddef so that size_t would be consistent across the library

This commit is contained in:
faizol 2020-05-06 02:09:33 +08:00 committed by Roland Bock
parent cd20805b3e
commit b336346467

View File

@ -28,6 +28,7 @@
#define SQLPP11_DETAIL_TYPE_SET_H
#include <type_traits>
#include <cstddef>
#include <sqlpp11/wrong.h>
#include <sqlpp11/logic.h>
@ -60,7 +61,7 @@ namespace sqlpp
};
public:
using size = std::integral_constant<std::size_t, sizeof...(Elements)>;
using size = std::integral_constant<size_t, sizeof...(Elements)>;
using _is_type_set = std::true_type;
template <typename T>