[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/indexlib
From:       Luís Pedro Coelho <luis () luispedro ! org>
Date:       2005-10-12 11:36:50
Message-ID: 1129117010.790842.21806.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 469877 by luis_pedro:

This isn't built by default, but I still use it for testing, so make it compile correctly.


 M  +2 -2      main.cpp  


--- branches/KDE/3.5/kdepim/indexlib/main.cpp #469876:469877
@@ -34,11 +34,11 @@
 #include "manager.h"
 #include "mmap_manager.h"
 #include "mempool.h"
-#include "index_tree.h"
 #include "index_slow.h"
 #include "ifile.h"
 #include "quotes.h"
 #include "compressed.h"
+#include "create.h"
 #include <map>
 #include <iostream>
 #include <cstdlib>
@@ -51,7 +51,7 @@
 typedef std::auto_ptr<indexlib::index> index_smart;
 
 index_smart get_index( std::string name ) {
-	return index_smart( new quotes( name ) );
+	return indexlib::open( name.c_str(), indexlib::open_flags::create_quotes );
 }
 
 std::string read_stream( std::istream& in ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic