1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-07 14:54:11 +00:00

Implement default ctor and move assignment in Script.

This commit is contained in:
King_DuckZ 2016-07-08 21:36:50 +01:00
parent 678e8c90d1
commit 75335cd390
2 changed files with 16 additions and 2 deletions

View file

@ -18,9 +18,15 @@
#include "script.hpp"
namespace redis {
Script::Script() :
m_sha1(),
m_manager(nullptr)
{
}
Script::Script (boost::string_ref parSha1, ScriptManager& parManager) :
m_sha1(parSha1),
m_manager(parManager)
m_manager(&parManager)
{
}
} //namespace redis