diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-03-27 04:27:17 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-03-27 04:27:17 +0000 |
commit | 86e3e2ed03a4889cf64a9149f1f0f5047a889c56 (patch) | |
tree | ecb8f0a58b879496fcf406a6d066b8d2b0d4ebde | |
parent | 58a0ba451a28497e5b4572a89db4f8f98ee441ee (diff) | |
download | libbu++-86e3e2ed03a4889cf64a9149f1f0f5047a889c56.tar.gz libbu++-86e3e2ed03a4889cf64a9149f1f0f5047a889c56.tar.bz2 libbu++-86e3e2ed03a4889cf64a9149f1f0f5047a889c56.tar.xz libbu++-86e3e2ed03a4889cf64a9149f1f0f5047a889c56.zip |
I had a useless include and a silly macro defined in the header file of string.
Diffstat (limited to '')
-rw-r--r-- | src/string.cpp | 2 | ||||
-rw-r--r-- | src/string.h | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/string.cpp b/src/string.cpp index 9cf3ffc..957d52d 100644 --- a/src/string.cpp +++ b/src/string.cpp | |||
@@ -14,6 +14,8 @@ | |||
14 | #include "bu/formatter.h" | 14 | #include "bu/formatter.h" |
15 | #include <stdlib.h> | 15 | #include <stdlib.h> |
16 | 16 | ||
17 | #define nMinSize (256) | ||
18 | |||
17 | Bu::StringCore::StringCore() : | 19 | Bu::StringCore::StringCore() : |
18 | nLength( 0 ), | 20 | nLength( 0 ), |
19 | pFirst( NULL ), | 21 | pFirst( NULL ), |
diff --git a/src/string.h b/src/string.h index 71798db..9270c55 100644 --- a/src/string.h +++ b/src/string.h | |||
@@ -11,10 +11,6 @@ | |||
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | #include <memory> | 12 | #include <memory> |
13 | 13 | ||
14 | #ifndef WIN32 | ||
15 | #include <wordexp.h> | ||
16 | #endif | ||
17 | |||
18 | #include "bu/util.h" | 14 | #include "bu/util.h" |
19 | #include "bu/sharedcore.h" | 15 | #include "bu/sharedcore.h" |
20 | #include "bu/exceptionbase.h" | 16 | #include "bu/exceptionbase.h" |
@@ -25,8 +21,6 @@ | |||
25 | 21 | ||
26 | #include <string.h> | 22 | #include <string.h> |
27 | 23 | ||
28 | #define nMinSize (256) | ||
29 | |||
30 | namespace Bu | 24 | namespace Bu |
31 | { | 25 | { |
32 | class String; | 26 | class String; |