You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Visual Studio 2015 I had a compiler error C2398: conversion from 'std::chrono::system_clock::rep' to 'unsigned int' requires a narrowing conversion.
This error arises in BoxPacker2D::packThem method here:
The change you propose seems harmless. Please fork the repository, make and test the change, and submit a pull request. I can then accept the pull request.
In Visual Studio 2015 I had a compiler error C2398: conversion from 'std::chrono::system_clock::rep' to 'unsigned int' requires a narrowing conversion.
This error arises in BoxPacker2D::packThem method here:
Changing the case of initialization from braces to parentheses has solved the problem for me:
About initializers and kinds of initialization one can read here.
The text was updated successfully, but these errors were encountered: