remove boost/tuple

This commit is contained in:
Bret Curtis 2017-05-06 13:29:47 +02:00
parent d97aa9152b
commit b7c27e5e96
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#ifndef OPENMW_GUI_SPELLVIEW_H #ifndef OPENMW_GUI_SPELLVIEW_H
#define OPENMW_GUI_SPELLVIEW_H #define OPENMW_GUI_SPELLVIEW_H
#include <boost/tuple/tuple.hpp> #include <tuple>
#include <MyGUI_Widget.h> #include <MyGUI_Widget.h>

View file

@ -1,7 +1,7 @@
#ifndef MISC_UTF8ITER_HPP #ifndef MISC_UTF8ITER_HPP
#define MISC_UTF8ITER_HPP #define MISC_UTF8ITER_HPP
#include <boost/tuple/tuple.hpp> #include <tuple>
class Utf8Stream class Utf8Stream
{ {
@ -60,7 +60,7 @@ public:
int octets; int octets;
UnicodeChar chr; UnicodeChar chr;
boost::tie (octets, chr) = octet_count (*cur++); std::tie (octets, chr) = octet_count (*cur++);
if (octets > 5) if (octets > 5)
return std::make_pair (sBadChar(), cur); return std::make_pair (sBadChar(), cur);
@ -104,7 +104,7 @@ private:
void next () void next ()
{ {
boost::tie (val, nxt) = decode (nxt, end); std::tie (val, nxt) = decode (nxt, end);
} }
Point cur; Point cur;