summaryrefslogtreecommitdiff
path: root/src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-08-06 19:03:38 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-08-06 19:03:38 +0200
commit58cd91cf08696e64bf3840fe625b4c66eac7f208 (patch)
treeabe317adcae8ea753fdb8289cec7a42e423845d9 /src/modules/urlnormalizer/googleurl/GoogleURLNormalizer.cpp
parent01bcb80ac096de72694135dff37e2ff70c2ab572 (diff)
downloadcrawler-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.cpp4
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 )