X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackageref.cpp;h=57336a30f2a643887c7132ec85e2ed1d4a6c4a76;hb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;hp=0f7dc265fa851032440222da73c4c3154aa8af79;hpb=1a46151c99a406123c4ddfc797a7841baf3e4cc2;p=builder.git diff --git a/source/packageref.cpp b/source/packageref.cpp index 0f7dc26..57336a3 100644 --- a/source/packageref.cpp +++ b/source/packageref.cpp @@ -10,6 +10,11 @@ PackageRef::PackageRef(Builder &b, const string &n): package(0) { } +/** +Tries to get the package from Builder if we don't have it already. + +@return The package pointer (0 if the package was not found) +*/ Package *PackageRef::resolve() { if(!package)