From 13202bfce486b5a4ded7d82e443a6b9157086dc2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 31 Dec 2023 15:10:06 -0800 Subject: [PATCH] test: neighbor_explorer: fix compilation on WIN32 Need NarrowPath. Matches what is done in other tests. Signed-off-by: Rosen Penev --- test/run_neighbor_explorer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/run_neighbor_explorer.cxx b/test/run_neighbor_explorer.cxx index 1fe0162a4..8ebe44ced 100644 --- a/test/run_neighbor_explorer.cxx +++ b/test/run_neighbor_explorer.cxx @@ -5,6 +5,7 @@ #include "neighbor/Listener.hxx" #include "neighbor/Info.hxx" #include "neighbor/Glue.hxx" +#include "fs/NarrowPath.hxx" #include "fs/Path.hxx" #include "event/Loop.hxx" #include "ShutdownHandler.hxx" @@ -35,7 +36,7 @@ try { return EXIT_FAILURE; } - const Path config_path = Path::FromFS(argv[1]); + const FromNarrowPath config_path = argv[1]; /* initialize the core */