Index: net/curvecp/packetizer.h |
diff --git a/net/curvecp/packetizer.h b/net/curvecp/packetizer.h |
index 14b526a1ed7a063bc0d6306ace60a8050208dc9b..c366095a041fd8fe01fd7011955a9666ca37643d 100644 |
--- a/net/curvecp/packetizer.h |
+++ b/net/curvecp/packetizer.h |
@@ -34,7 +34,7 @@ class Packetizer { |
virtual int SendMessage(ConnectionKey key, |
const char* data, |
size_t length, |
- OldCompletionCallback* callback) = 0; |
+ const CompletionCallback& callback) = 0; |
// Close an existing connection. |
virtual void Close(ConnectionKey key) = 0; |