[SERVER-9902] StatusWith does not use #pragma once Created: 11/Jun/13  Updated: 11/Jul/16  Resolved: 12/Jun/13

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Spencer Jackson Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

src/mongo/base/status_with.h does not have a `#pragma once' line at the beginning. If this file is included from multiple locations, compilation will fail.



 Comments   
Comment by auto [ 12/Jun/13 ]

Author:

{u'name': u'Spencer Jackson', u'email': u'spencer.jackson@10gen.com'}

Message: SERVER-9902 Use #pragma once in StatusWith

Signed-off-by: Randolph Tan <randolph@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/eb6b5b794b167bb9ac9d7d6fffa48579c86f25b5

Comment by Randolph Tan [ 11/Jun/13 ]

https://github.com/mongodb/mongo/pull/441

Generated at Thu Feb 08 03:21:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.