mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Use const for global variables
This commit is contained in:
parent
a9c56da99e
commit
a4836dec9a
@ -69,7 +69,7 @@ long tell(void* data)
|
||||
return position ? static_cast<long>(*position) : -1;
|
||||
}
|
||||
|
||||
ov_callbacks callbacks = {&read, &seek, nullptr, &tell};
|
||||
const ov_callbacks callbacks = {&read, &seek, nullptr, &tell};
|
||||
} // namespace
|
||||
|
||||
namespace sf::priv
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
struct
|
||||
const struct
|
||||
{
|
||||
std::string_view operator()(const sf::Event::Closed&) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user