diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03T11·00+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03T11·45+0200 |
commit | f186000367978fbe590343f47951232f42a30bec (patch) | |
tree | 4793e33f10f3d9b1daf6d7a99330b8452c7cbb6a /src/libstore/local-store.hh | |
parent | 7348653ff4fc4e9b2dc24943aabdb57179b1c75a (diff) |
Add some noexcepts
This is to assert that callback functions should never throw (since the context in which they're called may not be able to handle the exception).
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index af8b84bf5d73..3ae34c4035c4 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -127,7 +127,7 @@ public: PathSet queryAllValidPaths() override; void queryPathInfoUncached(const Path & path, - Callback<std::shared_ptr<ValidPathInfo>> callback) override; + Callback<std::shared_ptr<ValidPathInfo>> callback) noexcept override; void queryReferrers(const Path & path, PathSet & referrers) override; |