Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-01-07 03:38:08 +0300
committerCampbell Barton <campbell@blender.org>2022-01-07 06:16:26 +0300
commit3d3bc748849834ef74563deb603ab43859cffeeb (patch)
treede74ce4722b2cb032c22dbc090a15dd2e172c29b /source/blender/blenlib/BLI_timecode.h
parentbb69c19f08ac681d4386325e4318ebfbef2e9531 (diff)
Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
Diffstat (limited to 'source/blender/blenlib/BLI_timecode.h')
-rw-r--r--source/blender/blenlib/BLI_timecode.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/blenlib/BLI_timecode.h b/source/blender/blenlib/BLI_timecode.h
index 4eec8aef245..f0349e289ac 100644
--- a/source/blender/blenlib/BLI_timecode.h
+++ b/source/blender/blenlib/BLI_timecode.h
@@ -43,10 +43,10 @@ extern "C" {
*/
size_t BLI_timecode_string_from_time(char *str,
const size_t maxncpy,
- const int brevity_level,
- const float time_seconds,
- const double fps,
- const short timecode_style) ATTR_NONNULL();
+ int brevity_level,
+ float time_seconds,
+ double fps,
+ short timecode_style) ATTR_NONNULL();
/**
* Generate time string and store in \a str
@@ -56,9 +56,8 @@ size_t BLI_timecode_string_from_time(char *str,
* \param time_seconds: time total time in seconds
* \return length of \a str
*/
-size_t BLI_timecode_string_from_time_simple(char *str,
- const size_t maxncpy,
- const double time_seconds) ATTR_NONNULL();
+size_t BLI_timecode_string_from_time_simple(char *str, const size_t maxncpy, double time_seconds)
+ ATTR_NONNULL();
/**
* Generate time string and store in \a str
@@ -74,8 +73,8 @@ size_t BLI_timecode_string_from_time_simple(char *str,
*/
size_t BLI_timecode_string_from_time_seconds(char *str,
const size_t maxncpy,
- const int brevity_level,
- const float time_seconds) ATTR_NONNULL();
+ int brevity_level,
+ float time_seconds) ATTR_NONNULL();
#ifdef __cplusplus
}