aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 4ef82c393..ba0524d86 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -66,9 +66,9 @@ enum WrapMode { eWrapNone, eWrapWord, eWrapChar, eWrapWhitespace };
class ColourOptional : public ColourDesired {
public:
bool isSet;
- ColourOptional(ColourDesired colour_=ColourDesired(0,0,0), bool isSet_=false) : ColourDesired(colour_), isSet(isSet_) {
+ ColourOptional(ColourDesired colour_=ColourDesired(0,0,0), bool isSet_=false) noexcept : ColourDesired(colour_), isSet(isSet_) {
}
- ColourOptional(uptr_t wParam, sptr_t lParam) : ColourDesired(static_cast<int>(lParam)), isSet(wParam != 0) {
+ ColourOptional(uptr_t wParam, sptr_t lParam) noexcept : ColourDesired(static_cast<int>(lParam)), isSet(wParam != 0) {
}
};
@@ -80,10 +80,10 @@ struct ForeBackColours {
struct EdgeProperties {
int column;
ColourDesired colour;
- EdgeProperties(int column_ = 0, ColourDesired colour_ = ColourDesired(0)) :
+ EdgeProperties(int column_ = 0, ColourDesired colour_ = ColourDesired(0)) noexcept :
column(column_), colour(colour_) {
}
- EdgeProperties(uptr_t wParam, sptr_t lParam) :
+ EdgeProperties(uptr_t wParam, sptr_t lParam) noexcept :
column(static_cast<int>(wParam)), colour(static_cast<int>(lParam)) {
}
};