projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
math
/
vector3.h
diff --git
a/dali/public-api/math/vector3.h
b/dali/public-api/math/vector3.h
index
1d24444
..
1a98005
100644
(file)
--- a/
dali/public-api/math/vector3.h
+++ b/
dali/public-api/math/vector3.h
@@
-19,6
+19,7
@@
*/
// EXTERNAL INCLUDES
*/
// EXTERNAL INCLUDES
+#include <cstdint> // uint32_t
#include <iosfwd>
// INTERNAL INCLUDES
#include <iosfwd>
// INTERNAL INCLUDES
@@
-382,7
+383,7
@@
struct DALI_CORE_API Vector3
* @param[in] index Subscript index
* @return The float at the given index
*/
* @param[in] index Subscript index
* @return The float at the given index
*/
- const float& operator[](const u
nsigned in
t index) const
+ const float& operator[](const u
int32_
t index) const
{
DALI_ASSERT_ALWAYS( index < 3 && "Vector element index out of bounds" );
{
DALI_ASSERT_ALWAYS( index < 3 && "Vector element index out of bounds" );
@@
-397,7
+398,7
@@
struct DALI_CORE_API Vector3
* @param[in] index Subscript index
* @return The float at the given index
*/
* @param[in] index Subscript index
* @return The float at the given index
*/
- float& operator[](const u
nsigned in
t index)
+ float& operator[](const u
int32_
t index)
{
DALI_ASSERT_ALWAYS( index < 3 && "Vector element index out of bounds" );
{
DALI_ASSERT_ALWAYS( index < 3 && "Vector element index out of bounds" );