summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mobile/mobile_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/mobile/mobile_util.h')
-rw-r--r--src/mongo/db/storage/mobile/mobile_util.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/storage/mobile/mobile_util.h b/src/mongo/db/storage/mobile/mobile_util.h
index 93ca3fdd51d..9cdb8bf0e15 100644
--- a/src/mongo/db/storage/mobile/mobile_util.h
+++ b/src/mongo/db/storage/mobile/mobile_util.h
@@ -44,7 +44,7 @@ namespace embedded {
/**
* Converts SQLite return codes to MongoDB statuses.
*/
-Status sqliteRCToStatus(int retCode, const char* prefix = NULL);
+Status sqliteRCToStatus(int retCode, const char* prefix = nullptr);
/**
* Converts SQLite return codes to string equivalents.
@@ -54,7 +54,10 @@ const char* sqliteStatusToStr(int retStatus);
/**
* Checks if retStatus == desiredStatus; else calls fassert.
*/
-void checkStatus(int retStatus, int desiredStatus, const char* fnName, const char* errMsg = NULL);
+void checkStatus(int retStatus,
+ int desiredStatus,
+ const char* fnName,
+ const char* errMsg = nullptr);
/**
* Validate helper function to log an error and append the error to the results.