Skip to content

Commit 05608c8

Browse files
committed
remove unused function map member from attributes parser
1 parent 0cef648 commit 05608c8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/attributes.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ namespace attributes {
459459
std::string sourceFile_;
460460
CharacterVector lines_;
461461
std::vector<Attribute> attributes_;
462-
FunctionMap functionMap_ ;
463462
std::vector<std::string> modules_;
464463
std::vector<std::string> embeddedR_;
465464
std::vector<FileInfo> localIncludes_;
@@ -1042,10 +1041,6 @@ namespace attributes {
10421041
Attribute attr = parseAttribute(
10431042
Rcpp::as<std::vector<std::string> >(match), i);
10441043
attributes_.push_back(attr);
1045-
1046-
if( attr.isExportedFunction() ){
1047-
functionMap_.insert(attr.function());
1048-
}
10491044
}
10501045

10511046
// if it's not an attribute line then it could still be a

0 commit comments

Comments
 (0)