Skip to content
Snippets Groups Projects

F cpp to string

Merged
Timm Fitschenrequested to merge
f-cpp-to-string into dev
All threads resolved!
2 files
+ 4
3
Compare changes
  • Side-by-side
  • Inline

Files

+ 4
0
@@ -44,6 +44,7 @@ auto get_arena() -> Arena *;
template <typename P> class ProtoMessageWrapper {
public:
virtual ~ProtoMessageWrapper() = 0;
ProtoMessageWrapper(const ProtoMessageWrapper<P> &other) = default;
inline auto CopyFrom(const ProtoMessageWrapper<P> &other) noexcept -> StatusCode {
this->wrapped->CopyFrom(*other.wrapped);
@@ -86,8 +87,11 @@ protected:
P *wrapped;
};
template <typename P> ProtoMessageWrapper<P>::~ProtoMessageWrapper() = default;
template <typename P> class ScalarFieldWrapper : public ProtoMessageWrapper<P> {
public:
inline virtual ~ScalarFieldWrapper() = default;
inline ScalarFieldWrapper() = default;
inline ScalarFieldWrapper(P *wrapped) : ProtoMessageWrapper<P>(wrapped) {}
/**
Loading