mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-29 17:08:56 +08:00
removed verbose inlines
This commit is contained in:
parent
21609eaa86
commit
60b5a8e918
|
@ -273,7 +273,7 @@ namespace Blah
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
inline bool List<T>::contains(const T& item) const
|
bool List<T>::contains(const T& item) const
|
||||||
{
|
{
|
||||||
for (int i = 0; i < m_count; i++)
|
for (int i = 0; i < m_count; i++)
|
||||||
if (*(m_buffer + i) == item)
|
if (*(m_buffer + i) == item)
|
||||||
|
@ -282,7 +282,7 @@ namespace Blah
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
inline int List<T>::index_of(const T& item) const
|
int List<T>::index_of(const T& item) const
|
||||||
{
|
{
|
||||||
for (int i = 0; i < m_count; i++)
|
for (int i = 0; i < m_count; i++)
|
||||||
if (*(m_buffer + i) == item)
|
if (*(m_buffer + i) == item)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user