test: neighbor_explorer: fix compilation on WIN32

Need NarrowPath. Matches what is done in other tests.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-12-31 15:10:06 -08:00
parent f3d031b38a
commit 13202bfce4
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include "neighbor/Listener.hxx" #include "neighbor/Listener.hxx"
#include "neighbor/Info.hxx" #include "neighbor/Info.hxx"
#include "neighbor/Glue.hxx" #include "neighbor/Glue.hxx"
#include "fs/NarrowPath.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "event/Loop.hxx" #include "event/Loop.hxx"
#include "ShutdownHandler.hxx" #include "ShutdownHandler.hxx"
@ -35,7 +36,7 @@ try {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
const Path config_path = Path::FromFS(argv[1]); const FromNarrowPath config_path = argv[1];
/* initialize the core */ /* initialize the core */