diff options
Diffstat (limited to 'src/builder.h')
-rw-r--r-- | src/builder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/builder.h b/src/builder.h index f21e411..f27a042 100644 --- a/src/builder.h +++ b/src/builder.h | |||
@@ -100,8 +100,10 @@ public: | |||
100 | return mTarget[sName]; | 100 | return mTarget[sName]; |
101 | } | 101 | } |
102 | 102 | ||
103 | std::list<std::string> getRequires( const char *sReq ) | 103 | std::list<std::string> *getRequires( const char *sReq ) |
104 | { | 104 | { |
105 | if( mRequires.find(sReq) == mRequires.end() ) | ||
106 | return NULL; | ||
105 | return mRequires[sReq]; | 107 | return mRequires[sReq]; |
106 | } | 108 | } |
107 | 109 | ||