mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
This commit is contained in:
commit
d55e60cb2e
|
@ -28,7 +28,7 @@
|
|||
namespace arangodb {
|
||||
class FileResult : public Result {
|
||||
public:
|
||||
FileResult(bool state);
|
||||
explicit FileResult(bool state);
|
||||
FileResult(bool state, int sysErrorNumber);
|
||||
|
||||
public:
|
||||
|
|
|
@ -29,7 +29,10 @@ namespace arangodb {
|
|||
class Result {
|
||||
public:
|
||||
Result() : _errorNumber(TRI_ERROR_NO_ERROR) {}
|
||||
Result(int errorNumber, std::string errorMessage) {}
|
||||
Result(int errorNumber, std::string const& errorMessage)
|
||||
: _errorNumber(errorNumber), _errorMessage(errorMessage) {}
|
||||
Result(int errorNumber, std::string&& errorMessage)
|
||||
: _errorNumber(errorNumber), _errorMessage(std::move(errorMessage)) {}
|
||||
|
||||
virtual ~Result() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue