Skip to content

Commit c8882b1

Browse files
committed
Adapt to updated Host Compute System API definitions.
1 parent e494b54 commit c8882b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

NanaBox/ConfigurationManager.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,16 +380,14 @@ std::string NanaBox::MakeHcsConfiguration(
380380
}
381381

382382
{
383-
const std::uint32_t Plan9ShareFlagsReadOnly = 0x00000001;
384-
385383
const std::uint32_t Plan9SharePort = 50001;
386384

387385
nlohmann::json Current;
388386
Current["Name"] = ShareName;
389387
Current["AccessName"] = ShareName;
390388
Current["Path"] = SharePath;
391389
Current["Port"] = Plan9SharePort;
392-
Current["Flags"] = Plan9ShareFlagsReadOnly;
390+
Current["Flags"] = NanaBox::Plan9ShareFlags::ReadOnly;
393391

394392
nlohmann::json SharedFolders;
395393
SharedFolders.push_back(Current);

0 commit comments

Comments
 (0)