diff Core/SQLite/FunctionContext.h @ 2301:bde58ce4b41c

fix Debian FTBFS #867789
author jodogne
date Mon, 10 Jul 2017 09:28:30 +0200
parents b1291df2f780
children f31dfb131dee
line wrap: on
line diff
--- a/Core/SQLite/FunctionContext.h	Thu Jul 06 08:43:54 2017 +0200
+++ b/Core/SQLite/FunctionContext.h	Mon Jul 10 09:28:30 2017 +0200
@@ -37,7 +37,7 @@
 #include "Statement.h"
 
 struct sqlite3_context;
-struct Mem;  // This corresponds to the opaque type "sqlite3_value"
+struct sqlite3_value;
  
 namespace Orthanc
 {
@@ -50,14 +50,14 @@
     private:
       struct sqlite3_context* context_;
       unsigned int argc_;
-      struct ::Mem** argv_;
+      struct sqlite3_value** argv_;
 
       void CheckIndex(unsigned int index) const;
 
     public:
       FunctionContext(struct sqlite3_context* context,
                       int argc,
-                      struct ::Mem** argv);
+                      struct sqlite3_value** argv);
 
       ColumnType GetColumnType(unsigned int index) const;