Style fixes

This commit is contained in:
Andrew Noyes 2022-10-11 13:46:10 -07:00
parent f0f2b944a2
commit d8cadbd6c0
2 changed files with 7 additions and 2 deletions

View File

@ -20,7 +20,6 @@
#ifndef FDBCLIENT_COMMITPROXYINTERFACE_H
#define FDBCLIENT_COMMITPROXYINTERFACE_H
#include "fdbclient/IdempotencyId.h"
#pragma once
#include <utility>
@ -31,6 +30,7 @@
#include "fdbclient/FDBTypes.h"
#include "fdbclient/GlobalConfig.h"
#include "fdbclient/GrvProxyInterface.h"
#include "fdbclient/IdempotencyId.h"
#include "fdbclient/StorageServerInterface.h"
#include "fdbclient/TagThrottle.actor.h"
#include "fdbclient/VersionVector.h"

View File

@ -18,6 +18,9 @@
* limitations under the License.
*/
#ifndef FDBCLIENT_IDEMPOTENCYID_H
#define FDBCLIENT_IDEMPOTENCYID_H
#pragma once
#include "fdbclient/FDBTypes.h"
@ -158,4 +161,6 @@ private:
};
// Check if id is present in kv, and if so return the commit version and batchIndex
Optional<CommitResult> kvContainsIdempotencyId(const KeyValueRef& kv, const IdempotencyIdRef& id);
Optional<CommitResult> kvContainsIdempotencyId(const KeyValueRef& kv, const IdempotencyIdRef& id);
#endif