Commit 88b3ad7a authored by Adam Cozzette's avatar Adam Cozzette
Browse files

Fixed a build failure caused by refactoring in the client

parent b2e2a8a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ using palominolabs::protobufutil::MessageStreamFactory;

class TestCallback : public GetCallbackInterface {
    public:
    void Success(const std::string &value, const std::string &version,
            const std::string &tag) {
    void Success(const std::string &key, const std::string &value,
            const std::string &version, const std::string &tag) {
        printf("The callback got called!\n");
    }
    virtual void Failure(NonblockingError error) {
+2 −2
Original line number Diff line number Diff line
@@ -35,8 +35,8 @@ using kinetic::SocketWrapper;
class TestCallback : public GetCallbackInterface {
public:
    TestCallback(char* buffer, unsigned int expected_length, int* remaining) : buffer_(buffer), expected_length_(expected_length), remaining_(remaining) {};
    void Success(const std::string &value, const std::string &version,
            const std::string &tag) {
    void Success(const std::string &key, const std::string &value,
            const std::string &version, const std::string &tag) {
        if(expected_length_ != value.size()) {
            printf("Received value chunk of wrong size\n");
            exit(1);