aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-10-30 14:38:02 -0500
committerWill Dietz <w@wdtz.org>2019-10-30 14:39:01 -0500
commit0e9b72e097e027ff7f78e0f596a3ade606df9253 (patch)
treec794503213c2eeefa8ef3f1c5eff3f0c26e08bcf /src
parente5319a87ce75bbd2dd88f57c3b470a396195e849 (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')
-rw-r--r--src/libstore/worker-protocol.hh2
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);