Fix missing include in simgear/misc/strutils_test.cxx
strutils_test.cxx uses std::string but doesn't include <string> directly. This doesn't cause any error because it includes this header indirectly via "strutils.hxx". However, I believe relying on this is bad practice, hence the tiny fix.
This commit is contained in:
parent
61e2d2dd3b
commit
289daf0fbc
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h> // _set_errno() on Windows
|
#include <stdlib.h> // _set_errno() on Windows
|
||||||
|
#include <string>
|
||||||
#include <fstream> // std::ifstream
|
#include <fstream> // std::ifstream
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
#include "strutils.hxx"
|
#include "strutils.hxx"
|
||||||
|
Loading…
Reference in New Issue
Block a user