Skip to content

Commit

Permalink
[3rdparty] Improve compat with c++ modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 2, 2024
1 parent 7d295c0 commit 30a3bd4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/libossia
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-avnd/halp.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module;
#include <score/tools/ThreadPool.hpp>

#include <ossia/detail/for_each.hpp>
#include <ossia/detail/lockfree_queue.hpp>
#include <ossia/detail/type_if.hpp>
#include <ossia/detail/typelist.hpp>

Expand Down Expand Up @@ -134,7 +135,6 @@ module;
#include <utility>
#include <variant>
#include <version>

export module halp;

#define HALP_MODULE_BUILD 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module;

#include <score_plugin_engine.hpp>
#include <score/plugins/FactorySetup.hpp>
#include <concurrentqueue.h>

#include <Avnd/Factories.hpp>
export module @AVND_BASE_TARGET@;
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/score-plugin-avnd/module_prototype.cppm.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module;
#include <score/plugins/Interface.hpp>
#include <score/application/ApplicationContext.hpp>
#include <Avnd/Factories.hpp>
#include <concurrentqueue.h>

export module @AVND_TARGET@_factories;
import @AVND_TARGET@;
Expand All @@ -18,7 +19,7 @@ void custom_factories_@AVND_TARGET@(
const score::ApplicationContext& ctx, const score::InterfaceKey& key)
{
using namespace oscr;
// oscr::instantiate_fx<@AVND_QUALIFIED@>(fx, ctx, key);
oscr::instantiate_fx<@AVND_QUALIFIED@>(fx, ctx, key);
}
}
// clang-format on

0 comments on commit 30a3bd4

Please sign in to comment.