CCF
Loading...
Searching...
No Matches
compacted_version_conflict.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include <string>
6
7namespace ccf::kv
8{
10 {
11 private:
12 std::string msg;
13
14 public:
15 CompactedVersionConflict(std::string s) : msg(std::move(s)) {}
16
17 [[nodiscard]] char const* what() const
18 {
19 return msg.c_str();
20 }
21 };
22}
Definition compacted_version_conflict.h:10
char const * what() const
Definition compacted_version_conflict.h:17
CompactedVersionConflict(std::string s)
Definition compacted_version_conflict.h:15
Definition app_interface.h:19
STL namespace.