fix: Add missing memory headers for unique_ptr

All headers using std::unique_ptr now explicitly include <memory>
This commit is contained in:
m1ngsama 2025-12-08 16:05:22 +08:00
parent 6564f23707
commit 818f5ddc5e
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#include <string> #include <string>
#include <functional> #include <functional>
#include <memory>
enum class InputMode { enum class InputMode {
NORMAL, // 正常浏览模式 NORMAL, // 正常浏览模式

View file

@ -3,6 +3,7 @@
#include "html_parser.h" #include "html_parser.h"
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory>
#include <curses.h> #include <curses.h>
// 渲染后的行信息 // 渲染后的行信息