<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-560] mongo::OID::asTimeT() and mongo::OID::asDateT() should be const</title>
                <link>https://jira.mongodb.org/browse/CXX-560</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;As mongo::OID::asDateT() calls mongo::OID::asTimeT(), which calls OID::getTimestamp(), which is a const member function, mongo::OID::asDateT() and mongo::OID::asTimeT() should also be marked as const.&lt;/p&gt;</description>
                <environment></environment>
        <key id="189613">CXX-560</key>
            <summary>mongo::OID::asTimeT() and mongo::OID::asDateT() should be const</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mapx">Peng Xie</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Sun, 15 Mar 2015 10:41:32 +0000</created>
                <updated>Tue, 6 Dec 2016 07:33:44 +0000</updated>
                            <resolved>Mon, 16 Mar 2015 14:41:04 +0000</resolved>
                                    <version>legacy-1.0.0</version>
                                    <fixVersion>legacy-1.0.1</fixVersion>
                                    <component>API</component>
                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="852808" author="xgen-internal-githook" created="Mon, 16 Mar 2015 14:39:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;mapx&apos;, u&apos;name&apos;: u&apos;yuchen.xie&apos;, u&apos;email&apos;: u&apos;yuchen.xie@live.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-560&quot; title=&quot;mongo::OID::asTimeT() and mongo::OID::asDateT() should be const&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-560&quot;&gt;&lt;del&gt;CXX-560&lt;/del&gt;&lt;/a&gt; Mark mongo::OID::asTimeT() and mongo::OID::asDateT() const&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/624146feb3bb74fe139b167af02d666e83f24e7d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/624146feb3bb74fe139b167af02d666e83f24e7d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="852500" author="mapx" created="Mon, 16 Mar 2015 02:20:54 +0000"  >&lt;p&gt;Hi Adam, I did what you told me to do. That&apos;s very insteresting!&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="852390" author="adam.midvidy" created="Sun, 15 Mar 2015 15:10:32 +0000"  >&lt;p&gt;Hey Yuchen. I agree that these member functions should be marked const. I will merge this PR tomorrow. If you&apos;d like, you can also open the same PR on the mongodb/mongo project, and then file a ticket on the SERVER project - as this code is the same in the MongoDB server! For that you will need to sign a contributors agreement: &lt;a href=&quot;https://www.mongodb.com/legal/contributor-agreement&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/legal/contributor-agreement&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks again for contributing!&lt;/p&gt;

&lt;p&gt;Adam&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="189667">SERVER-17596</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs74vb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>