forked from lix-project/lix
Merge pull request #6431 from NixOS/unbreak-my-build
Make the default SQLiteError constructor public
This commit is contained in:
commit
ebad9213f7
|
@ -106,10 +106,10 @@ struct SQLiteError : Error
|
||||||
throw_(db, hintfmt(fs, args...));
|
throw_(db, hintfmt(fs, args...));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
SQLiteError(const char *path, int errNo, int extendedErrNo, hintformat && hf);
|
SQLiteError(const char *path, int errNo, int extendedErrNo, hintformat && hf);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
|
||||||
template<typename... Args>
|
template<typename... Args>
|
||||||
SQLiteError(const char *path, int errNo, int extendedErrNo, const std::string & fs, const Args & ... args)
|
SQLiteError(const char *path, int errNo, int extendedErrNo, const std::string & fs, const Args & ... args)
|
||||||
: SQLiteError(path, errNo, extendedErrNo, hintfmt(fs, args...))
|
: SQLiteError(path, errNo, extendedErrNo, hintfmt(fs, args...))
|
||||||
|
|
Loading…
Reference in a new issue