X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffs%2Fpath.cpp;h=784c6eb508cbd953629e0b3819ea82667e083566;hb=4c8b6a16bfe62541bc68aa0d3827158c9b9617da;hp=52b1da2241dc9a762dbab76a6caa2a0f9bfa3478;hpb=d16185720fa344263367dbd50c61bfc8183d99a4;p=libs%2Fcore.git diff --git a/source/fs/path.cpp b/source/fs/path.cpp index 52b1da2..784c6eb 100644 --- a/source/fs/path.cpp +++ b/source/fs/path.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "path.h" #include "utils.h" @@ -103,7 +103,7 @@ string Path::operator[](int n) const } } - throw InvalidParameterValue("Path component index out of range"); + throw invalid_argument("Path::operator[]"); } bool Path::operator==(const Path &p) const