mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
initializer problems for arrays are literally the worst part of std::array
This commit is contained in:
parent
a86e9ee62d
commit
a99ea97eb7
@ -20,8 +20,8 @@
|
|||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2017-12-07 14:04:12.736591 UTC
|
// Generated 2017-12-07 14:16:34.213850 UTC
|
||||||
// This header was generated with sol v2.18.7 (revision 7193115)
|
// This header was generated with sol v2.18.7 (revision a86e9ee)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
@ -14996,10 +14996,10 @@ namespace sol {
|
|||||||
const char* fmt;
|
const char* fmt;
|
||||||
std::array<const char*, 4> args;
|
std::array<const char*, 4> args;
|
||||||
|
|
||||||
error_result() : results(0), fmt(nullptr), args({}) {
|
error_result() : results(0), fmt(nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
error_result(int results) : results(results), fmt(nullptr), args({}) {
|
error_result(int results) : results(results), fmt(nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
error_result(const char* fmt, const char* msg) : results(0), fmt(fmt), args({ msg, nullptr, nullptr, nullptr }) {
|
error_result(const char* fmt, const char* msg) : results(0), fmt(fmt), args({ msg, nullptr, nullptr, nullptr }) {
|
||||||
|
@ -406,10 +406,10 @@ namespace sol {
|
|||||||
const char* fmt;
|
const char* fmt;
|
||||||
std::array<const char*, 4> args;
|
std::array<const char*, 4> args;
|
||||||
|
|
||||||
error_result() : results(0), fmt(nullptr), args({}) {
|
error_result() : results(0), fmt(nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
error_result(int results) : results(results), fmt(nullptr), args({}) {
|
error_result(int results) : results(results), fmt(nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
error_result(const char* fmt, const char* msg) : results(0), fmt(fmt), args({ msg, nullptr, nullptr, nullptr }) {
|
error_result(const char* fmt, const char* msg) : results(0), fmt(fmt), args({ msg, nullptr, nullptr, nullptr }) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user