diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-12-04 13:04:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 13:04:03 -0500 |
commit | 1dee918047870f640c26e0e12a02f27159b6a740 (patch) | |
tree | 0b3a9ca4721172710dd482c8687348fa72738923 | |
parent | 03a33bd53065f24ab7c12ddb209f2846292995d8 (diff) | |
download | sdl_ios-bugfix/issue-1478-cpp-template-configuration.tar.gz |
Add a comment explaining the C++ template configuration hackbugfix/issue-1478-cpp-template-configuration
-rw-r--r-- | SmartDeviceLink/SDLTemplateConfiguration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTemplateConfiguration.h b/SmartDeviceLink/SDLTemplateConfiguration.h index 2f84ddef1..39d0b0df7 100644 --- a/SmartDeviceLink/SDLTemplateConfiguration.h +++ b/SmartDeviceLink/SDLTemplateConfiguration.h @@ -22,6 +22,7 @@ NS_ASSUME_NONNULL_BEGIN */ - (instancetype)initWithPredefinedLayout:(SDLPredefinedLayout)predefinedLayout; +// HAX: We are doing this because `template` is a C++ keyword and won't compile. #ifndef __cplusplus /** Init with the required values. |