mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
Add/fix warning -Wignored-qualifiers (GCC/clang)
Fix simple_array::const_iterator as a part of it.
This commit is contained in:
parent
5bdd1cf837
commit
53af2dbb3f
11 changed files with 25 additions and 23 deletions
|
@ -578,12 +578,12 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
static inline const f32 get_resolution_scale()
|
||||
static inline f32 get_resolution_scale()
|
||||
{
|
||||
return g_cfg.video.strict_rendering_mode ? 1.f : (g_cfg.video.resolution_scale_percent / 100.f);
|
||||
}
|
||||
|
||||
static inline const int get_resolution_scale_percent()
|
||||
static inline int get_resolution_scale_percent()
|
||||
{
|
||||
return g_cfg.video.strict_rendering_mode ? 100 : g_cfg.video.resolution_scale_percent;
|
||||
}
|
||||
|
@ -951,8 +951,8 @@ namespace rsx
|
|||
struct simple_array
|
||||
{
|
||||
public:
|
||||
using iterator = Ty * ;
|
||||
using const_iterator = Ty * const;
|
||||
using iterator = Ty*;
|
||||
using const_iterator = const Ty*;
|
||||
|
||||
private:
|
||||
u32 _capacity = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue