aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-04-07 03:49:30 +0000
committerMike Buland <eichlan@xagasoft.com>2011-04-07 03:49:30 +0000
commit5de54062d8bf9bdfde17a02e4aef91341146162d (patch)
tree02dca607621cdefb14ef1e3596bc78dcbc6c8c24 /src
parentd37b4151d5422b164a02c3773c9ebe478d6d82da (diff)
downloadlibbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.gz
libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.bz2
libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.tar.xz
libbu++-5de54062d8bf9bdfde17a02e4aef91341146162d.zip
I fixed a stupid typo in string, I don't know how it ever compiled. It also
builds on win32 again...
Diffstat (limited to 'src')
-rw-r--r--src/compat/win32.h6
-rw-r--r--src/string.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/compat/win32.h b/src/compat/win32.h
index 1d82fbe..2978371 100644
--- a/src/compat/win32.h
+++ b/src/compat/win32.h
@@ -128,6 +128,12 @@ namespace Bu
128 128
129#undef USE_64BIT_IO 129#undef USE_64BIT_IO
130 130
131// Windows has no autoconfig, and no endian.h, but only works on little endian
132// as far as I know.
133#define LITTLE_ENDIAN 0
134#define BIG_ENDIAN 1
135#define BYTE_ORDER 0
136
131#endif /* WIN32 */ 137#endif /* WIN32 */
132#endif 138#endif
133 139
diff --git a/src/string.cpp b/src/string.cpp
index edc45f9..1a9018b 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -141,7 +141,7 @@ Bu::String::String( const char *pData, long nLength )
141 append( pData, nLength ); 141 append( pData, nLength );
142} 142}
143 143
144Bu::String::String( const Bu::String::String &rSrc ) : 144Bu::String::String( const Bu::String &rSrc ) :
145 Bu::SharedCore<Bu::String, Bu::StringCore>( rSrc ) 145 Bu::SharedCore<Bu::String, Bu::StringCore>( rSrc )
146{ 146{
147} 147}