Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic container wrapper is not working in devel branch #1627

Open
dazboga opened this issue Sep 13, 2024 · 1 comment · May be fixed by #1632
Open

Automatic container wrapper is not working in devel branch #1627

dazboga opened this issue Sep 13, 2024 · 1 comment · May be fixed by #1632

Comments

@dazboga
Copy link

dazboga commented Sep 13, 2024

I tried develop branch because there is a fix for passing nil from lua to C function expecting shared_ptr (or sol::object) using luajit as VM.
It is fixed in commit ff3f254

However it looks like commit 64e3823 breaks the default container wrapper.

Simple example:

#include <map>
#include <sol/sol.hpp>


int main() {
    std::map<std::string, bool> m;

    sol::state state;
    state["m"] = m;
}

System: linux, clang, luajit

Output:
output.log

@deadlocklogic
Copy link
Contributor

@ThePhD This is a replication of the tests/runtime_tests/container_semantics.cpp and it fails to compile using the trunk branch.
Is CI/CL working correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants