mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Remove C++11 header
This commit is contained in:
parent
1f23f7818e
commit
a19f996a11
@ -55,7 +55,7 @@
|
|||||||
#include <SFML/System/Err.hpp>
|
#include <SFML/System/Err.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdint>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
@ -66,7 +66,7 @@ std::size_t readCallback(void* ptr, std::size_t size, void* data)
|
|||||||
return static_cast<std::size_t>(stream->read(ptr, static_cast<sf::Int64>(size)));
|
return static_cast<std::size_t>(stream->read(ptr, static_cast<sf::Int64>(size)));
|
||||||
}
|
}
|
||||||
|
|
||||||
int seekCallback(std::uint64_t offset, void* data)
|
int seekCallback(uint64_t offset, void* data)
|
||||||
{
|
{
|
||||||
sf::InputStream* stream = static_cast<sf::InputStream*>(data);
|
sf::InputStream* stream = static_cast<sf::InputStream*>(data);
|
||||||
sf::Int64 position = stream->seek(static_cast<sf::Int64>(offset));
|
sf::Int64 position = stream->seek(static_cast<sf::Int64>(offset));
|
||||||
|
Loading…
Reference in New Issue
Block a user