diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-10-13 20:08:35 (GMT) |
|---|---|---|
| committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2021-11-15 21:02:49 (GMT) |
| commit | ac7b2da611fa5ef4cc989a9feb027f66c0ebfc6c (patch) | |
| tree | 15a03dd3349eae42628f657790482c45eaedd509 /src/logging | |
| parent | 624429b54c1819d58b69a2f74f5c852e1ecb0ed3 (diff) | |
Update includes to to be relative to src directory
Don't use relative imports like `../foo.h` as those depend on the
relative position of both files. Rather than that use imports relative
to the `src` directory, which explicitly is part of the include
directories.
Diffstat (limited to 'src/logging')
| -rw-r--r-- | src/logging/DummyLogger.h | 2 | ||||
| -rw-r--r-- | src/logging/NrfLogger.cpp | 2 | ||||
| -rw-r--r-- | src/logging/NrfLogger.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/logging/DummyLogger.h b/src/logging/DummyLogger.h index 8732dff..1b050b3 100644 --- a/src/logging/DummyLogger.h +++ b/src/logging/DummyLogger.h @@ -1,5 +1,5 @@ #pragma once -#include "Logger.h" +#include "logging/Logger.h" namespace Pinetime { namespace Logging { diff --git a/src/logging/NrfLogger.cpp b/src/logging/NrfLogger.cpp index 1c048f2..ab54afe 100644 --- a/src/logging/NrfLogger.cpp +++ b/src/logging/NrfLogger.cpp @@ -1,4 +1,4 @@ -#include "NrfLogger.h" +#include "logging/NrfLogger.h" #include <libraries/log/nrf_log.h> #include <libraries/log/nrf_log_ctrl.h> diff --git a/src/logging/NrfLogger.h b/src/logging/NrfLogger.h index 060c4e7..21183a3 100644 --- a/src/logging/NrfLogger.h +++ b/src/logging/NrfLogger.h @@ -1,5 +1,5 @@ #pragma once -#include "Logger.h" +#include "logging/Logger.h" #include <FreeRTOS.h> #include <task.h> |
