]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/regmatch.h
Mark constructors and destructors as default where appropriate
[libs/core.git] / source / strings / regmatch.h
index 0858e5a8dfc5cec44afba0d308ca45ef3c8d3206..48f65c6df2b2409403762d0a28f067c8c297b07b 100644 (file)
@@ -40,7 +40,7 @@ private:
 
 public:
        /** Constructs a RegMatch representing a non-match. */
 
 public:
        /** Constructs a RegMatch representing a non-match. */
-       RegMatch() { }
+       RegMatch() = default;
 
        /** Constructs a new RegMatch from a string and groups.  The length and str
        members of each group are computed and need not be set.  Intended to be used
 
        /** Constructs a new RegMatch from a string and groups.  The length and str
        members of each group are computed and need not be set.  Intended to be used