Prepare code for formatting

- Add missing `#include` in `ripple/core/JobTypeInfo.h`
- Protect version string from clang-format in
  `ripple/protocol/impl/BuildInfo.cpp`.
  `Builds/CMake/RippledVersion.cmake` searches for this line by pattern.
This commit is contained in:
John Freeman
2020-04-22 17:20:07 -05:00
committed by manojsdoshi
parent 020b285808
commit 65dfc5d19e
2 changed files with 4 additions and 0 deletions

View File

@@ -20,6 +20,8 @@
#ifndef RIPPLE_CORE_JOBTYPEINFO_H_INCLUDED
#define RIPPLE_CORE_JOBTYPEINFO_H_INCLUDED
#include <ripple/core/Job.h>
namespace ripple
{

View File

@@ -31,7 +31,9 @@ namespace BuildInfo {
// The build version number. You must edit this for each release
// and follow the format described at http://semver.org/
//------------------------------------------------------------------------------
// clang-format off
char const* const versionString = "1.6.0-b2"
// clang-format on
#if defined(DEBUG) || defined(SANITIZER)
"+"