aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-10-26 08:15:24 +1100
committerNeil <nyamatongwe@gmail.com>2021-10-26 08:15:24 +1100
commita27ff81c16f9a383ba9530aca1c4ecd16c79fee7 (patch)
tree252f409322ab5e670fc77644be971f450714a431 /src/CellBuffer.cxx
parentf3a53bfcf5df26697289e01e041d39a659968ea2 (diff)
downloadscintilla-mirror-a27ff81c16f9a383ba9530aca1c4ecd16c79fee7.tar.gz
Explicit constructors.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 178975c1e..b84372cf2 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -37,7 +37,7 @@ struct CountWidths {
// from the Base Multilingual Plane and those from other planes.
Sci::Position countBasePlane;
Sci::Position countOtherPlanes;
- CountWidths(Sci::Position countBasePlane_=0, Sci::Position countOtherPlanes_=0) noexcept :
+ explicit CountWidths(Sci::Position countBasePlane_=0, Sci::Position countOtherPlanes_=0) noexcept :
countBasePlane(countBasePlane_),
countOtherPlanes(countOtherPlanes_) {
}