Skip to content

Commit 224302a

Browse files
committed
fix compile on windows and mac
1 parent 2d929d5 commit 224302a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ int main(int argc, char* argv[])
376376
logger.flush_on(spdlog::level::trace);
377377

378378
logger.info("=== oshot starting ===");
379-
logger.info("Log file path: {}", log_path.string());
379+
logger.info("Log file path: {}", file.filename());
380380
logger.flush();
381381

382382
spdlog::flush_every(std::chrono::seconds(1));

src/main_tool_metal.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# include "config.hpp"
2020
# include "screen_capture.hpp"
2121
# include "screenshot_tool.hpp"
22-
# include "socket.hpp"
2322
# include "tool_icons.h"
2423
# include "util.hpp"
2524

0 commit comments

Comments
 (0)