diff options
| author | Rider Linden <rider@lindenlab.com> | 2016-06-10 13:25:22 -0700 | 
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2016-06-10 13:25:22 -0700 | 
| commit | c8b662814093fa6ed592fb9cb5118a1401fdc488 (patch) | |
| tree | 8eea41b5bd72d43778a36da72f7892aa78527141 | |
| parent | 1e803a6bd7a89f60407a1fd2b2697d9e5dd23467 (diff) | |
Make string ref in HandleScriptUserData const
| -rw-r--r-- | indra/newview/llcompilequeue.cpp | 26 | 
1 files changed, 13 insertions, 13 deletions
diff --git a/indra/newview/llcompilequeue.cpp b/indra/newview/llcompilequeue.cpp index 1c9f766666..c592a6c0c6 100644 --- a/indra/newview/llcompilequeue.cpp +++ b/indra/newview/llcompilequeue.cpp @@ -98,6 +98,19 @@ namespace          LLEventPump &                       mPump;      }; +    class HandleScriptUserData +    { +    public: +        HandleScriptUserData(const std::string &pumpname) : +            mPumpname(pumpname) +        { } + +        const std::string &getPumpName() const { return mPumpname; } + +    private: +        std::string mPumpname; +    }; +  } @@ -275,19 +288,6 @@ void LLFloaterCompileQueue::handleHTTPResponse(std::string pumpName, const LLSD      LLEventPumps::instance().post(pumpName, expresult);  } -class HandleScriptUserData  -{ -public: -    HandleScriptUserData(std::string &pumpname) : -        mPumpname(pumpname) -    { } - -    const std::string &getPumpName() const { return mPumpname; } - -private: -    std::string mPumpname; -}; -  // *TODO: handleSCriptRetrieval is passed into the VFS via a legacy C function pointer  // future project would be to convert these to C++ callables (std::function<>) so that   // we can use bind and remove the userData parameter.  | 
