Changeset 198
- Timestamp:
- 10/14/06 13:35:55 (2 years ago)
- Files:
-
- 06/libkombilo/search.cc (modified) (4 diffs)
- 06/libkombilo/search.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
06/libkombilo/search.cc
r197 r198 813 813 814 814 Algo_signature::Algo_signature(int bsize) : Algorithm(bsize) { 815 datasig = 0;816 815 main_variation = true; 817 816 } 818 817 819 818 Algo_signature::~Algo_signature() { 820 if (datasig) delete datasig;821 819 } 822 820 … … 827 825 int rc = sqlite3_exec(db, sql, 0, 0, 0); 828 826 if (rc != SQLITE_OK) throw DBError(); 829 // datasig = new vector<char* >;830 827 } 831 828 … … 2433 2430 if (argc==3 && argv[0] && argv[1] && argv[2]) { 2434 2431 // printf("found %s, %lld", argv[2], atoi(argv[2])); 2432 #ifdef __BORLANDC__ 2433 ((vector<HashhitCS* >*)results)->push_back(new HashhitCS(atoi(argv[0]), atoi(argv[1]), _atoi64(argv[2])!=hashCode)); 2434 #else 2435 2435 ((vector<HashhitCS* >*)results)->push_back(new HashhitCS(atoi(argv[0]), atoi(argv[1]), atoll(argv[2])!=hashCode)); 2436 #endif 2436 2437 } else throw DBError(); 2437 2438 return 0; … … 3345 3346 else { 3346 3347 // printf("use p_options\n"); 3347 p_op = new ProcessOptions(*p_op );3348 p_op = new ProcessOptions(*p_options); 3348 3349 p_op->validate(); // make sure the most important information is contained in rootNodeTags list 3349 3350 } 06/libkombilo/search.h
r197 r198 222 222 int counter; 223 223 char* signature; 224 std::vector<char* > *datasig;225 224 private: 226 225 bool main_variation;
