mirror of https://github.com/mamba-org/mamba.git
Avoid ODR violation for `type_caster<mamba::fs::u8path>` (#3903)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
This commit is contained in:
parent
cadd3c9e06
commit
c3681db47f
|
@ -4,6 +4,9 @@
|
|||
//
|
||||
// The full license is in the file LICENSE, distributed with this software.
|
||||
|
||||
#ifndef LIBMAMBAPY_PATH_CASTER_HPP
|
||||
#define LIBMAMBAPY_PATH_CASTER_HPP
|
||||
|
||||
#include <pybind11/pybind11.h>
|
||||
#include <pybind11/stl/filesystem.h>
|
||||
|
||||
|
@ -19,3 +22,5 @@ namespace PYBIND11_NAMESPACE
|
|||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "bindings.hpp"
|
||||
#include "expected_caster.hpp"
|
||||
#include "flat_set_caster.hpp"
|
||||
#include "path_caster.hpp"
|
||||
#include "weakening_map_bind.hpp"
|
||||
|
||||
using OldVersionPart = std::vector<mamba::specs::VersionPartAtom>;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <pybind11/stl_bind.h>
|
||||
|
||||
#include "bind_utils.hpp"
|
||||
#include "path_caster.hpp"
|
||||
|
||||
namespace mambapy
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue