{"action":"created","issue":{"url":"https://api.github.com/repos/dealii/dealii/issues/1183","labels_url":"https://api.github.com/repos/dealii/dealii/issues/1183/labels{/name}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/1183/comments","events_url":"https://api.github.com/repos/dealii/dealii/issues/1183/events","html_url":"https://github.com/dealii/dealii/pull/1183","id":96915095,"number":1183,"title":"Simplify code.","user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars.githubusercontent.com/u/7504421?v=3","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T22:07:23Z","updated_at":"2015-07-26T16:45:22Z","closed_at":"2015-07-24T12:23:45Z","pull_request":{"url":"https://api.github.com/repos/dealii/dealii/pulls/1183","html_url":"https://github.com/dealii/dealii/pull/1183","diff_url":"https://github.com/dealii/dealii/pull/1183.diff","patch_url":"https://github.com/dealii/dealii/pull/1183.patch"},"body":"There are a couple of places where we call a get_data() function\nthat returns a pointer to a base class when we know that the actual\ndata type is a pointer to derived class. We need to cast right back\nto the derived class.\n\nThis can be avoided by using covariant return types where the get_data()\nfunction returns a pointer to derived right away."},"comment":{"url":"https://api.github.com/repos/dealii/dealii/issues/comments/125015427","html_url":"https://github.com/dealii/dealii/pull/1183#issuecomment-125015427","issue_url":"https://api.github.com/repos/dealii/dealii/issues/1183","id":125015427,"user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars.githubusercontent.com/u/7504421?v=3","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T16:45:22Z","updated_at":"2015-07-26T16:45:22Z","body":"This addresses #1198 ."}}