initializer problems for arrays are literally the worst part of std::array

This commit is contained in:
ThePhD 2017-12-07 09:16:56 -05:00
parent a86e9ee62d
commit a99ea97eb7
2 changed files with 6 additions and 6 deletions

View File

@ -20,8 +20,8 @@
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// This file was generated with a script.
// Generated 2017-12-07 14:04:12.736591 UTC
// This header was generated with sol v2.18.7 (revision 7193115)
// Generated 2017-12-07 14:16:34.213850 UTC
// This header was generated with sol v2.18.7 (revision a86e9ee)
// https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP
@ -14996,10 +14996,10 @@ namespace sol {
const char* fmt;
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 }) {

View File

@ -406,10 +406,10 @@ namespace sol {
const char* fmt;
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 }) {