Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
laverdet committed May 20, 2024
1 parent 3743a7c commit 7dbf53f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/external_copy/serializer_nortti.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

using namespace v8;

namespace ivm {
namespace detail {
namespace ivm::detail {

void SerializerDelegate::ThrowDataCloneError(Local<String> message) {
Isolate::GetCurrent()->ThrowException(Exception::TypeError(message));
Expand Down Expand Up @@ -71,5 +70,4 @@ auto DeserializerDelegate::GetWasmModuleFromId(
return result;
}

} // namespace detail
} // namespace ivm
} // namespace ivm::detail
4 changes: 2 additions & 2 deletions src/lib/covariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ template <class Base, class ...Storage>
class covariant_t {
public:
template <class Ctor, class ...Args>
explicit covariant_t(in_place<Ctor> /*tag*/, Args&&... args) : dtor{&detail::destructor_wrapper<Base, Ctor>} {
static_assert(detail::contains_type<Ctor, Storage...>::value, "Instantiated constructor must inherit from `Base`");
explicit covariant_t(in_place<Ctor> /*tag*/, Args&&... args) : dtor{&::detail::destructor_wrapper<Base, Ctor>} {
static_assert(::detail::contains_type<Ctor, Storage...>::value, "Instantiated constructor must inherit from `Base`");
new(&storage) Ctor(std::forward<Args>(args)...);
}

Expand Down

0 comments on commit 7dbf53f

Please sign in to comment.