Changeset 20085 for trunk/FACT++


Ignore:
Timestamp:
04/19/21 11:43:36 (4 years ago)
Author:
tbretz
Message:
First argument not required anymore
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8-4.cc

    r20083 r20085  
    222222}
    223223
    224 void InterpreterV8::Thread(int &id, v8::UniquePersistent<Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms)
     224void InterpreterV8::Thread(v8::UniquePersistent<Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms)
    225225{
    226226    Isolate *isolate = fMainThread;
     
    305305
    306306    //int id=__id;
    307     fThreads.push_back(thread(bind(&InterpreterV8::Thread, this, ref(id), std::move(_this), std::move(func), ms)));
     307    fThreads.push_back(thread(bind(&InterpreterV8::Thread, this, /*ref(id),*/ std::move(_this), std::move(func), ms)));
    308308    /*
    309309    {
  • trunk/FACT++/src/InterpreterV8-4.h

    r20083 r20085  
    7777    v8::Handle<v8::Value> ExecuteInternal(const std::string &code);
    7878
    79     void Thread(int &id, v8::UniquePersistent<v8::Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms);
     79    void Thread(v8::UniquePersistent<v8::Object> &_this, v8::UniquePersistent<v8::Object> &func, uint32_t ms);
    8080
    8181    std::vector<std::string> ValueToArray(const v8::Handle<v8::Value> &val, bool only=true);
Note: See TracChangeset for help on using the changeset viewer.