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 {
|
namespace arangodb {
|
||||||
class FileResult : public Result {
|
class FileResult : public Result {
|
||||||
public:
|
public:
|
||||||
FileResult(bool state);
|
explicit FileResult(bool state);
|
||||||
FileResult(bool state, int sysErrorNumber);
|
FileResult(bool state, int sysErrorNumber);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -29,7 +29,10 @@ namespace arangodb {
|
||||||
class Result {
|
class Result {
|
||||||
public:
|
public:
|
||||||
Result() : _errorNumber(TRI_ERROR_NO_ERROR) {}
|
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() {}
|
virtual ~Result() {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue