Skip to content

Commit

Permalink
Fix template id cdtor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Feb 2, 2025
1 parent d868fd4 commit 9c3548c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/tier1/utlsoacontainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ template<class T> class CStridedPtr
size_t m_nStride;

public:
FORCEINLINE CStridedPtr<T>( void *pData, size_t nByteStride )
FORCEINLINE CStridedPtr( void *pData, size_t nByteStride )
{
m_pData = reinterpret_cast<T *>( pData );
m_nStride = nByteStride / sizeof( T );
}

FORCEINLINE CStridedPtr<T>( void ) {}
FORCEINLINE CStridedPtr( void ) {}
T *operator->(void) const
{
return m_pData;
Expand Down Expand Up @@ -82,13 +82,13 @@ template<class T> class CStridedConstPtr
size_t m_nStride;

public:
FORCEINLINE CStridedConstPtr<T>( void const *pData, size_t nByteStride )
FORCEINLINE CStridedConstPtr( void const *pData, size_t nByteStride )
{
m_pData = reinterpret_cast<T const *>( pData );
m_nStride = nByteStride / sizeof( T );
}

FORCEINLINE CStridedConstPtr<T>( void ) {}
FORCEINLINE CStridedConstPtr( void ) {}

const T *operator->(void) const
{
Expand Down

0 comments on commit 9c3548c

Please sign in to comment.