projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git]
/
src
/
filter_backend_test.hpp
diff --git
a/src/filter_backend_test.hpp
b/src/filter_backend_test.hpp
index
da10262
..
7c2b71e
100644
(file)
--- a/
src/filter_backend_test.hpp
+++ b/
src/filter_backend_test.hpp
@@
-1,4
+1,4
@@
-/* $Id: filter_backend_test.hpp,v 1.1 2005-10-25 11:48:30 adam Exp $
+/* $Id: filter_backend_test.hpp,v 1.7 2006-01-04 11:55:31 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-7,8
+7,7
@@
#ifndef FILTER_BACKEND_TEST_HPP
#define FILTER_BACKEND_TEST_HPP
#ifndef FILTER_BACKEND_TEST_HPP
#define FILTER_BACKEND_TEST_HPP
-#include <stdexcept>
-#include <list>
+#include <boost/scoped_ptr.hpp>
#include "filter.hpp"
#include "filter.hpp"
@@
-21,11
+20,15
@@
namespace yp2 {
Backend_test();
void process(yp2::Package & package) const;
private:
Backend_test();
void process(yp2::Package & package) const;
private:
- Rep *m_p;
+ boost::scoped_ptr<Rep> m_p;
};
}
}
};
}
}
+extern "C" {
+ extern struct yp2_filter_struct yp2_filter_backend_test;
+}
+
#endif
/*
* Local variables:
#endif
/*
* Local variables: