View | Details | Raw Unified
Collapse All | Expand All

(-) hearts-1.98-ori/common/general/circular_iterator.h (-1 / +1 lines)
 Lines 137-143    Link Here 
inline circular_iterator<It>& circular_iterator<It>::operator += ( circular_iterator<It>::difference_type n )
inline circular_iterator<It>& circular_iterator<It>::operator += ( circular_iterator<It>::difference_type n )
{
{
	n %= last - first; // put it in range
	n %= last - first; // put it in range
	circular_iterator::difference_type d = last - cur;
	typename circular_iterator::difference_type d = last - cur;
	if ( d > n ) {
	if ( d > n ) {
		cur += n;
		cur += n;
		return *this;
		return *this;
(-) hearts-1.98-ori/common/network/message.h (-1 / +1 lines)
 Lines 129-135    Link Here 
}
}
template <typename T>
template <typename T>
inline const T Message::arg( size_t idx ) const
inline const T Message::arg( unsigned idx ) const
{
{
	QString rep = arg( idx );
	QString rep = arg( idx );
	return to<T>( rep );
	return to<T>( rep );