mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 19:39:42 +00:00
Fix boost deprecation warning
This commit is contained in:
parent
4a9abf1c1b
commit
89d4d3be08
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <MyGUI_TabControl.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/math/common_factor.hpp>
|
||||
#include <boost/integer/common_factor.hpp>
|
||||
|
||||
#include <SDL_video.h>
|
||||
|
||||
|
@ -58,7 +58,7 @@ namespace
|
|||
|
||||
std::string getAspect (int x, int y)
|
||||
{
|
||||
int gcd = boost::math::gcd (x, y);
|
||||
int gcd = boost::integer::gcd (x, y);
|
||||
int xaspect = x / gcd;
|
||||
int yaspect = y / gcd;
|
||||
// special case: 8 : 5 is usually referred to as 16:10
|
||||
|
|
Loading…
Reference in a new issue