mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Prevent uninitialized StorePath creation
This commit is contained in:
parent
94c9343702
commit
d8972317fc
3 changed files with 6 additions and 2 deletions
|
@ -113,6 +113,8 @@ extern "C" {
|
|||
|
||||
struct String : Vec<char, ffi_String_drop>
|
||||
{
|
||||
String() = delete;
|
||||
|
||||
String(std::string_view s)
|
||||
{
|
||||
ffi_String_new(StringSlice(s), this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue