[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/indexlib
From: André Wöbbeking <Woebbeking () web ! de>
Date: 2005-07-15 14:18:28
Message-ID: 1121437108.240104.9680.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 434821 by woebbe:
compile with GCC 4
M +3 -3 pointer.h
M +2 -2 thing.h
--- trunk/kdesupport/indexlib/pointer.h #434820:434821
@@ -61,7 +61,7 @@
BOOST_STATIC_ASSERT( (boost::is_convertible<derived_type, value_type>::value ) );
}
uint32_t cast_to_uint32() const {
- return idx_;
+ return this->idx_;
}
static pointer cast_from_uint32( uint32_t d ) {
return d;
@@ -73,11 +73,11 @@
return const_cast<value_type*>( static_cast<const value_type*>( this ) );
}
bool operator!() const {
- return !idx_;
+ return !this->idx_;
}
operator const volatile void*() const {
- return idx_ ? this : 0;
+ return this->idx_ ? this : 0;
}
void* raw_pointer() { return base_type::base(); }
private:
--- trunk/kdesupport/indexlib/thing.h #434820:434821
@@ -97,12 +97,12 @@
#define MEMBER( type, name, idx ) \
type name() const { \
- const unsigned char* data = base() + idx; \
+ const unsigned char* data = this->base() + idx; \
return byte_io::read<type>( data ); \
} \
\
void set_ ## name ( const type & n_ ## name ) { \
- unsigned char* data = base() + idx; \
+ unsigned char* data = this->base() + idx; \
byte_io::write<type>( data, n_ ## name ); \
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic