summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-03-27 04:27:17 +0000
committerMike Buland <eichlan@xagasoft.com>2011-03-27 04:27:17 +0000
commit86e3e2ed03a4889cf64a9149f1f0f5047a889c56 (patch)
treeecb8f0a58b879496fcf406a6d066b8d2b0d4ebde
parent58a0ba451a28497e5b4572a89db4f8f98ee441ee (diff)
downloadlibbu++-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.
-rw-r--r--src/string.cpp2
-rw-r--r--src/string.h6
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
17Bu::StringCore::StringCore() : 19Bu::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
30namespace Bu 24namespace Bu
31{ 25{
32 class String; 26 class String;