diff options
author | Will Dietz <w@wdtz.org> | 2019-10-30 14:38:02 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-10-30 14:39:01 -0500 |
commit | 0e9b72e097e027ff7f78e0f596a3ade606df9253 (patch) | |
tree | c794503213c2eeefa8ef3f1c5eff3f0c26e08bcf /src/libstore/worker-protocol.hh | |
parent | e5319a87ce75bbd2dd88f57c3b470a396195e849 (diff) |
minor: fix mismatch of struct/class forward decl of 'Source'
Fixes the following warning and the indicate potential issue:
src/libstore/worker-protocol.hh:66:1: warning: class 'Source' was previously declared as a struct; this is valid, but may result in linker errors
under the Microsoft C++ ABI [-Wmismatched-tags]
(cherry picked from commit 6e1bb04870b1b723282d32182af286646f13bf3c)
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r-- | src/libstore/worker-protocol.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh index a03edd10f..6762b609d 100644 --- a/src/libstore/worker-protocol.hh +++ b/src/libstore/worker-protocol.hh @@ -63,7 +63,7 @@ typedef enum { class Store; -class Source; +struct Source; Path readStorePath(Store & store, Source & from); template<class T> T readStorePaths(Store & store, Source & from); |