mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
make sfTime const global variable
This commit is contained in:
1 parent
82e4518e93
commit
4c818c31ed
2 files changed
+2
-2
No files matched your search
@@ -43,7 +43,7 @@ typedef struct
|
||||
/// \brief Predefined "zero" time value
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_SYSTEM_API sfTime sfTime_Zero;
|
||||
CSFML_SYSTEM_API const sfTime sfTime_Zero;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Return a time value as a number of seconds
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
sfTime sfTime_Zero = {0};
|
||||
const sfTime sfTime_Zero = {0};
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user