Commit 80287485 authored by Brian Panneton's avatar Brian Panneton
Browse files

ENH: Added headers to support newer compilers.

parent a6be5bff
......@@ -25,6 +25,7 @@
#include <libxml/xmlreader.h>
#include <map>
#include <sstream>
#include <cstring>
#include "XdmfCoreItemFactory.hpp"
#include "XdmfCoreReader.hpp"
#include "XdmfItem.hpp"
......@@ -144,7 +145,7 @@ public:
const char * content = (char*)childNode->content;
// determine if content is whitespace
const size_t contentSize = strlen(content);
const size_t contentSize = std::strlen(content);
bool whitespace = true;
for(int i=0; i<contentSize; ++i) {
......
#include <XdmfError.hpp>
#include <cstdlib>
XdmfError::XdmfError()
{}
......@@ -27,7 +28,7 @@ XdmfError::message(Level level, std::string msg)
if(level<=XdmfError::getLevel())
XdmfError::WriteToStream(msg);
if(level == XdmfError::FATAL)
exit(1);
std::exit(1);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment