10000 Add #include <string> for std::stod · lava/matplotlib-cpp@d1b7c72 · GitHub
[go: up one dir, main page]

Skip to content

Commit d1b7c72

Browse files
leha-botlava
authored andcommitted
Add #include <string> for std::stod
See https://en.cppreference.com/w/cpp/string/basic_string/stof for details.
1 parent 9d19657 commit d1b7c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

matplotlibcpp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <iostream>
1414
#include <cstdint> // <cstdint> requires c++11 support
1515
#include <functional>
16+
#include <string> // std::stod
1617

1718
#ifndef WITHOUT_NUMPY
1819
# define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION

0 commit comments

Comments
 (0)
0