Skip to content

Commit

Permalink
clang: Added a missing include.
Browse files Browse the repository at this point in the history
[  114s] In file included from Y2CCDummyAgent.cc:8:
[  114s] ../../libscr/src/include/scr/Y2AgentComponent.h:129:53: error: calling 'asPath' with incomplete return type 'YCPPath'
[  114s]             return getSCRAgent ()-> Read (args->value (0)->asPath (), args->size() > 1 ? args->value (1) : YCPNull ()) ;
[  114s]                                           ~~~~~~~~~~~~~~~~~^~~~~~~~~
[  114s] ../../libycp/src/include/ycp/YCPValue.h:206:13: note: 'asPath' declared here
[  114s]     YCPPath asPath() const;
[  114s]             ^
[  114s] ../../libycp/src/include/ycp/YCPElement.h:51:7: note: forward declaration of 'YCPPath'
[  114s] class YCPPath;
[  114s]       ^
  • Loading branch information
mvidner committed Feb 24, 2016
1 parent 25a7ddc commit 5e27644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libscr/src/include/scr/Y2AgentComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <ycp/YCPCode.h>
#include <ycp/YCPVoid.h>
#include <ycp/YCPTerm.h>
#include <ycp/YCPPath.h>

class SCRAgent;

Expand Down

0 comments on commit 5e27644

Please sign in to comment.