GitHub PullRequestReviewCommentEvent at 2014-05-13 20:11:59
Repository: mongo-cxx-driver
Actor: acmorrow
Payload: {"comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/12605721","id":12605721,"diff_hunk":"@@ -0,0 +1,39 @@\n+/*    Copyright 2014 MongoDB Inc.\n+ *\n+ *    Licensed under the Apache License, Version 2.0 (the \"License\");\n+ *    you may not use this file except in compliance with the License.\n+ *    You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *    Unless required by applicable law or agreed to in writing, software\n+ *    distributed under the License is distributed on an \"AS IS\" BASIS,\n+ *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ *    See the License for the specific language governing permissions and\n+ *    limitations under the License.\n+ */\n+\n+#include \"mongo/client/dbclient_writer.h\"\n+\n+#pragma once\n+\n+namespace mongo {\n+\n+    class CommandWriter : public DBClientWriter {\n+    public:\n+        CommandWriter(DBClientBase* client);\n+\n+        virtual ~CommandWriter();","path":"src/mongo/client/command_writer.h","position":26,"original_position":26,"commit_id":"02aaa25fc9a6d13af305b99dadb0810b63acfa72","original_commit_id":"02aaa25fc9a6d13af305b99dadb0810b63acfa72","user":{"login":"acmorrow","id":268253,"avatar_url":"https://avatars.githubusercontent.com/u/268253?","gravatar_id":"dbfcfc0e3c4b2b0baef2383fbc97f687","url":"https://api.github.com/users/acmorrow","html_url":"https://github.com/acmorrow","followers_url":"https://api.github.com/users/acmorrow/followers","following_url":"https://api.github.com/users/acmorrow/following{/other_user}","gists_url":"https://api.github.com/users/acmorrow/gists{/gist_id}","starred_url":"https://api.github.com/users/acmorrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmorrow/subscriptions","organizations_url":"https://api.github.com/users/acmorrow/orgs","repos_url":"https://api.github.com/users/acmorrow/repos","events_url":"https://api.github.com/users/acmorrow/events{/privacy}","received_events_url":"https://api.github.com/users/acmorrow/received_events","type":"User","site_admin":false},"body":"No need to redeclare the destructor if the body is going to be empty. It is already virtual by virtue of inheriting from DBClientWriter","created_at":"2014-05-13T20:11:59Z","updated_at":"2014-05-13T20:11:59Z","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/77#discussion_r12605721","pull_request_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/12605721"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/77#discussion_r12605721"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/77"}}}}