dtinfo subtree DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
b92cf08899
commit
8c8363f4a5
@@ -38,12 +38,12 @@ void print_loc(locator_smart_ptr& x, ostream& out)
|
||||
int compare_locator(locator_smart_ptr& pattern, info_base* base_ptr)
|
||||
{
|
||||
char pattern_buf[LARGE_BUFSIZ];
|
||||
ostrstream pattern_out(pattern_buf, LARGE_BUFSIZ, ios::out);
|
||||
ostringstream pattern_out(pattern_buf, LARGE_BUFSIZ, ios::out);
|
||||
print_loc(pattern, pattern_out);
|
||||
|
||||
locator_smart_ptr x( base_ptr, pattern.inside_node_locator_str());
|
||||
char db_buf[LARGE_BUFSIZ];
|
||||
ostrstream db_out(db_buf, LARGE_BUFSIZ, ios::out);
|
||||
ostringstream db_out(db_buf, LARGE_BUFSIZ, ios::out);
|
||||
print_loc(x, db_out);
|
||||
|
||||
return compare_stream(pattern_out, db_out);
|
||||
|
||||
Reference in New Issue
Block a user