diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-08-06 19:03:38 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-08-06 19:03:38 +0200 |
commit | 58cd91cf08696e64bf3840fe625b4c66eac7f208 (patch) | |
tree | abe317adcae8ea753fdb8289cec7a42e423845d9 /src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp | |
parent | 01bcb80ac096de72694135dff37e2ff70c2ab572 (diff) | |
download | crawler-58cd91cf08696e64bf3840fe625b4c66eac7f208.tar.gz crawler-58cd91cf08696e64bf3840fe625b4c66eac7f208.tar.bz2 |
using typeinfo to find correct destruction function for loadable module objects
Diffstat (limited to 'src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp')
-rw-r--r-- | src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp b/src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp index e5810d6..69d3e77 100644 --- a/src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp +++ b/src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp @@ -2,6 +2,8 @@ #include <string> +#include <iostream> + #include "url_util.h" #include "url_canon_stdstring.h" #include "url_parse.h" @@ -14,11 +16,13 @@ using namespace url_parse; GoogleURLNormalizer::GoogleURLNormalizer( ) { Initialize( ); + cout << "Creating Google Normalizer" << endl; } GoogleURLNormalizer::~GoogleURLNormalizer( ) { Shutdown( ); + cout << "Destroying Google Normalizer" << endl; } static string componentString( const string &s, const Component &comp ) |