i don't like you either std::array so lets agree not to be friends

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

View File

@ -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:16:34.213850 UTC // Generated 2017-12-07 14:35:57.076918 UTC
// This header was generated with sol v2.18.7 (revision a86e9ee) // This header was generated with sol v2.18.7 (revision a99ea97)
// https://github.com/ThePhD/sol2 // https://github.com/ThePhD/sol2
#ifndef SOL_SINGLE_INCLUDE_HPP #ifndef SOL_SINGLE_INCLUDE_HPP
@ -15002,7 +15002,8 @@ namespace sol {
error_result(int results) : results(results), fmt(nullptr) { 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[0] = msg;
} }
}; };

View File

@ -412,7 +412,8 @@ namespace sol {
error_result(int results) : results(results), fmt(nullptr) { 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[0] = msg;
} }
}; };