diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-02-14T15·39+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-14T15·39+0100 |
commit | 96d48318cb838cb67916e443266210c46fe4bf87 (patch) | |
tree | 3fb353d3eaa7334a127d5fe30cd6499abe002d16 /src/libexpr/names.cc | |
parent | 3fe9767dd33499c2560d209dc13a01f5fcead1f0 (diff) | |
parent | b095c06139fa267e6050e4c95208c627cc6251b8 (diff) |
Merge pull request #1870 from shlevy/split-version
Add splitVersion primop.
Diffstat (limited to 'src/libexpr/names.cc')
-rw-r--r-- | src/libexpr/names.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/names.cc b/src/libexpr/names.cc index 6d78d2116121..382088c78872 100644 --- a/src/libexpr/names.cc +++ b/src/libexpr/names.cc @@ -41,7 +41,7 @@ bool DrvName::matches(DrvName & n) } -static string nextComponent(string::const_iterator & p, +string nextComponent(string::const_iterator & p, const string::const_iterator end) { /* Skip any dots and dashes (component separators). */ |