From 604ea4e649e1b4d390f5f5be28501e4e644f2a39 Mon Sep 17 00:00:00 2001 From: NikBarykin <94286625+NikBarykin@users.noreply.github.com> Date: Mon, 17 Apr 2023 00:02:29 +0300 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You had a mistake, old version doesn't compile with error like `error: expected class-name before ‘{’ token 16 | class MessageDto : public oatpp::DTO {` --- docs/docs/start/step-by-step/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/start/step-by-step/README.md b/docs/docs/start/step-by-step/README.md index c75c64a6..3dda471f 100644 --- a/docs/docs/start/step-by-step/README.md +++ b/docs/docs/start/step-by-step/README.md @@ -480,7 +480,7 @@ Move `MessageDto` definition to `DTOs.hpp`: #ifndef DTOs_hpp #define DTOs_hpp -#include "oatpp/core/data/mapping/type/Object.hpp" +#include "oatpp/parser/json/mapping/ObjectMapper.hpp" #include "oatpp/core/macro/codegen.hpp" /* Begin DTO code-generation */