factorizing HTTP specific code out of SRU2Z3950 filter into utils.hpp
[metaproxy-moved-to-github.git] / src / sru_util.hpp
index 68317dc..c9a5afa 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sru_util.hpp,v 1.2 2006-10-02 13:44:48 marc Exp $
+/* $Id: sru_util.hpp,v 1.3 2006-10-03 07:57:40 marc Exp $
    Copyright (c) 2005-2006, Index Data.
 
    See the LICENSE file for details
@@ -28,7 +28,7 @@ namespace metaproxy_1 {
         {
         public:
             enum SRU_protocol_type { SRU_NONE, SRU_GET, SRU_POST, SRU_SOAP};
-            typedef const int& SRU_query_type;
+            typedef const int SRU_query_type;
             union SRW_query {char * cql; char * xcql; char * pqf;};
         private:
             //bool decode(const Z_HTTP_Request &http_req);
@@ -38,7 +38,6 @@ namespace metaproxy_1 {
             std::string m_charset;
             std::string m_stylesheet;            
         };
-
     }    
 }