diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 2ae4437623a6..aa8166d7eeaf 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -173,7 +173,7 @@ void createStoreTransaction(Transaction & txn) /* Path copying. */ -struct CopySink : DumpSink +struct CopySink : Sink { string s; virtual void operator () (const unsigned char * data, unsigned int len) @@ -183,7 +183,7 @@ struct CopySink : DumpSink }; -struct CopySource : RestoreSource +struct CopySource : Source { string & s; unsigned int pos; |