diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/cache.cpp | 4 | ||||
-rw-r--r-- | src/cache.h | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | LIBBU:=$(foreach f,paramproc.h paramproc.cpp fstring.h fstring.cpp exceptionbase.cpp exceptionbase.h archive.cpp archive.h archival.cpp archival.h plugger.h plugger.cpp singleton.h hash.cpp hash.h file.h file.cpp stream.h stream.cpp list.h list.cpp set.h set.cpp trace.h trace.cpp util.h fbasicstring.cpp fbasicstring.h sharedcore.cpp sharedcore.h,src/$f) | 1 | LIBBU:=$(foreach f,paramproc.h paramproc.cpp fstring.h fstring.cpp exceptionbase.cpp exceptionbase.h archive.cpp archive.h archival.cpp archival.h plugger.h plugger.cpp singleton.h hash.cpp hash.h file.h file.cpp stream.h stream.cpp list.h list.cpp set.h set.cpp trace.h trace.cpp util.h fbasicstring.cpp fbasicstring.h sharedcore.cpp sharedcore.h archivebase.cpp archivebase.h util.h util.cpp,src/$f) |
2 | SRC:=$(sort $(wildcard src/*.cpp) $(patsubst src/%,src/bu/%,$(filter %.cpp,$(LIBBU)))) | 2 | SRC:=$(sort $(wildcard src/*.cpp) $(patsubst src/%,src/bu/%,$(filter %.cpp,$(LIBBU)))) |
3 | OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC)) | 3 | OBJ:=src/build.yy.o src/build.tab.o $(patsubst %.cpp,%.o,$(SRC)) |
4 | REV:=$(shell svn info | grep "Revision" | cut -d\ -f2) | 4 | REV:=$(shell svn info | grep "Revision" | cut -d\ -f2) |
diff --git a/src/cache.cpp b/src/cache.cpp index b8e94ec..d2bf537 100644 --- a/src/cache.cpp +++ b/src/cache.cpp | |||
@@ -15,7 +15,7 @@ Cache::~Cache() | |||
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | void Cache::archive( class Bu::Archive &ar ) | 18 | void Cache::archive( class Bu::ArchiveBase &ar ) |
19 | { | 19 | { |
20 | if( ar.isLoading() ) | 20 | if( ar.isLoading() ) |
21 | { | 21 | { |
@@ -87,7 +87,7 @@ void Cache::archive( class Bu::Archive &ar ) | |||
87 | { | 87 | { |
88 | (*i).second = cnt; | 88 | (*i).second = cnt; |
89 | cnt++; | 89 | cnt++; |
90 | std::string s = ((*i).first); | 90 | Bu::FString s( ((*i).first).c_str(), ((*i).first).size() ); |
91 | ar << s; | 91 | ar << s; |
92 | } | 92 | } |
93 | 93 | ||
diff --git a/src/cache.h b/src/cache.h index 93b546c..50264de 100644 --- a/src/cache.h +++ b/src/cache.h | |||
@@ -14,7 +14,7 @@ public: | |||
14 | Cache(); | 14 | Cache(); |
15 | virtual ~Cache(); | 15 | virtual ~Cache(); |
16 | 16 | ||
17 | virtual void archive( class Bu::Archive &ar ); | 17 | virtual void archive( class Bu::ArchiveBase &ar ); |
18 | 18 | ||
19 | class Entry | 19 | class Entry |
20 | { | 20 | { |