changeset 1264:5e45322c7724 toa2020012703

Fixed errors related to previous fingerprint change
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 27 Jan 2020 15:23:16 +0100
parents 6128e1823e49
children 80cec1eaf5f1
files Framework/Oracle/WebAssemblyOracle.cpp
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Oracle/WebAssemblyOracle.cpp	Mon Jan 27 15:13:27 2020 +0100
+++ b/Framework/Oracle/WebAssemblyOracle.cpp	Mon Jan 27 15:23:16 2020 +0100
@@ -108,11 +108,11 @@
   class WebAssemblyOracle::FetchContext : public boost::noncopyable
   {
   private:
-    Emitter                        emitter_;
-    const IObserver&               receiver_;
-    std::auto_ptr<IOracleCommand>  command_;
-    std::string                    expectedContentType_;
-    std::string                    receiverFingerprint_;
+    Emitter                       emitter_;
+    const IObserver&              receiver_;
+    std::auto_ptr<IOracleCommand> command_;
+    std::string                   expectedContentType_;
+    int64_t                       receiverFingerprint_;
 
   public:
     FetchContext(WebAssemblyOracle& oracle,
@@ -223,7 +223,7 @@
       if (context->GetReceiver().DoesFingerprintLookGood())
       {
         callHandler = true;
-        std::string currentFingerprint(context->GetReceiver().GetFingerprint());
+        int64_t currentFingerprint(context->GetReceiver().GetFingerprint());
        
         LOG(TRACE) << "SuccessCallback for object at address (" << std::hex 
           << &(context->GetReceiver()) << std::dec