Merge pull request #6431 from NixOS/unbreak-my-build

Make the default SQLiteError constructor public
This commit is contained in:
Eelco Dolstra
2022-04-21 10:41:07 +02:00
committed by GitHub
+2 -2
View File
@@ -106,10 +106,10 @@ struct SQLiteError : Error
throw_(db, hintfmt(fs, args...));
}
protected:
SQLiteError(const char *path, int errNo, int extendedErrNo, hintformat && hf);
protected:
template<typename... Args>
SQLiteError(const char *path, int errNo, int extendedErrNo, const std::string & fs, const Args & ... args)
: SQLiteError(path, errNo, extendedErrNo, hintfmt(fs, args...))