mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
i don't like you either std::array so lets agree not to be friends
This commit is contained in:
parent
a99ea97eb7
commit
ec020048fb
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user