Permalink
Browse files

Fix linkage of RemoteLoader::RemoteLoader

  • Loading branch information...
1 parent bea513c commit 0b1a3b2ce25586983e7cf853a14004760e381557 @zeha zeha committed with Habbie Jul 3, 2013
Showing with 10 additions and 8 deletions.
  1. +10 −8 modules/remotebackend/remotebackend.cc
@@ -892,15 +892,17 @@ class RemoteBackendFactory : public BackendFactory
class RemoteLoader
{
- public:
- RemoteLoader()
- {
+public:
+ RemoteLoader();
+};
+
+
+RemoteLoader::RemoteLoader() {
#ifdef REMOTEBACKEND_HTTP
- curl_global_init(CURL_GLOBAL_ALL);
+ curl_global_init(CURL_GLOBAL_ALL);
#endif
- BackendMakers().report(new RemoteBackendFactory);
- L<<Logger::Notice<<kBackendId<<" This is the remotebackend version "VERSION" ("__DATE__", "__TIME__") reporting"<<endl;
- }
-};
+ BackendMakers().report(new RemoteBackendFactory);
+ L<<Logger::Notice<<kBackendId<<" This is the remotebackend version "VERSION" ("__DATE__", "__TIME__") reporting"<<endl;
+}
static RemoteLoader remoteloader;

0 comments on commit 0b1a3b2

Please sign in to comment.