mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix spacing issues
This commit is contained in:
parent
b5a938b285
commit
d548fdaee8
|
@ -28,11 +28,11 @@
|
||||||
namespace sol {
|
namespace sol {
|
||||||
|
|
||||||
struct default_construct {
|
struct default_construct {
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
void operator()(T&& obj, Args&&... args) const {
|
void operator()(T&& obj, Args&&... args) const {
|
||||||
std::allocator<Unqualified<T>> alloc{};
|
std::allocator<Unqualified<T>> alloc{};
|
||||||
alloc.construct(obj, std::forward<Args>(args)...);
|
alloc.construct(obj, std::forward<Args>(args)...);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // sol
|
} // sol
|
||||||
|
|
Loading…
Reference in New Issue
Block a user