forked from OSchip/llvm-project
This patch should fix various clang warnings and a use of to_string
which isn't support before c++11. llvm-svn: 304252
This commit is contained in:
parent
0bd0aa8f07
commit
ba395ef491
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include "llvm/Object/WindowsResource.h"
|
||||
#include "llvm/Support/COFF.h"
|
||||
#include <sstream>
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
|
@ -213,7 +214,7 @@ void WindowsResourceParser::TreeNode::print(ScopedPrinter &Writer,
|
|||
Child.second->print(Writer, Child.first);
|
||||
}
|
||||
for (auto const &Child : IDChildren) {
|
||||
Child.second->print(Writer, std::to_string(Child.first));
|
||||
Child.second->print(Writer, to_string(Child.first));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue