diff options
author | Zufu Liu <unknown> | 2021-09-17 07:38:35 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2021-09-17 07:38:35 +1000 |
commit | f99432484eb77df0d0ea1871ed34ffb74b501fba (patch) | |
tree | d841e4a9769d9ad348de211ca24c79ee944fff64 /src/ViewStyle.h | |
parent | 4840ebf15e51588a3e2f6caf16832ae83ffb9717 (diff) | |
download | scintilla-mirror-f99432484eb77df0d0ea1871ed34ffb74b501fba.tar.gz |
Add noexcept and constexpr where reasonable.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 52ec793bc..de56c0895 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -86,7 +86,7 @@ struct WrapAppearance { struct EdgeProperties { int column = 0; ColourRGBA colour; - EdgeProperties(int column_ = 0, ColourRGBA colour_ = ColourRGBA::FromRGB(0)) noexcept : + constexpr EdgeProperties(int column_ = 0, ColourRGBA colour_ = ColourRGBA::FromRGB(0)) noexcept : column(column_), colour(colour_) { } }; |