Skip to content

Commit 47c007f

Browse files
authored
Update TArray.h
1 parent 999b581 commit 47c007f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cppcore/Container/TArray.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class TArray {
167167

168168
/// @brief Will return the data pointer.
169169
/// @return The data pointer.
170-
T data() const;
170+
T *data() const;
171171

172172
/// @brief The [] operator.
173173
T &operator[](array_size_type idx) const;
@@ -487,7 +487,7 @@ inline typename TArray<T, TAlloc>::Iterator TArray<T, TAlloc>::end() {
487487
}
488488

489489
template <class T, class TAlloc>
490-
inline T TArray<T, TAlloc>::data() const {
490+
inline T *TArray<T, TAlloc>::data() const {
491491
return mData;
492492
}
493493

0 commit comments

Comments
 (0)