Skip to content

Commit 5c40221

Browse files
fix: add missing standard library includes in xinterpreter.cpp
- Add <cstring> for std::strlen - Add <sstream> for std::istringstream - Add <string> for std::getline Resolves include-cleaner warnings by explicitly including headers for all used standard library symbols. This improves code maintainability and prevents reliance on indirect includes.
1 parent 71cd1ec commit 5c40221

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/xinterpreter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#include "xeus-cpp/xinterpreter.hpp"
1616
#include "xeus-cpp/xmagics.hpp"
1717

18+
#include <cstring> // for std::strlen
19+
#include <sstream> // for std::istringstream
20+
#include <string> // for std::getline
21+
1822
#include "xinput.hpp"
1923
#include "xinspect.hpp"
2024
#ifndef EMSCRIPTEN

0 commit comments

Comments
 (0)