This is mandated by C++11.
#include "support/textutils.h"
#include "support/unicode.h"
-#include <boost/cstdint.hpp>
-
-#include <iterator>
#include <algorithm>
+#include <cstdint>
+#include <iterator>
#include <sstream>
using namespace std;
istringstream is(symbolslex.getString());
// reading symbol directly does not work if
// char_type == wchar_t.
- boost::uint32_t tmp;
+ uint32_t tmp;
if(!(is >> hex >> tmp))
break;
symbol = tmp;
#include <QObject>
#include <QStringList>
-#include <boost/cstdint.hpp>
+#include <cstdint>
namespace lyx {
namespace frontend {
/// that can be stored in the clipboard
CacheMimeData cache_;
/// checksum for internal clipboard data (used on Mac)
- boost::uint32_t checksum;
+ std::uint32_t checksum;
};
QString const lyxMimeType();
#include "support/lassert.h"
-#include <boost/cstdint.hpp>
-
#include <cerrno>
+#include <cstdint>
#include <fstream>
#include <utility>
#endif
using namespace std;
-using boost::uint32_t;
namespace lyx {
#else
-#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#include <cstdint>
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1600)
namespace lyx { typedef uint32_t char_type; }
#include "support/numpunct_lyx_char_type.h" // implementation for our char_type needed
#else
-#include <boost/cstdint.hpp>
-namespace lyx { typedef boost::uint32_t char_type; }
+namespace lyx { typedef std::uint32_t char_type; }
#endif
#endif
#include <iconv.h>
-#include <boost/cstdint.hpp>
-
#include <cerrno>
+#include <cstdint>
#include <map>
#include <ostream>
//Needed in MSVC
for (size_t i = 0; i < buflen; ++i) {
// char may be signed, avoid output of
// something like 0xffffffc2
- boost::uint32_t const b =
+ uint32_t const b =
*reinterpret_cast<unsigned char const *>(buf + i);
lyxerr << " 0x" << (unsigned int)b;
}