Skip to content

Commit

Permalink
Remove the unnecessary stdpmid includes
Browse files Browse the repository at this point in the history
This will allow the dbpmda-based functional tests to pass even when
pmcd has never run, and so the stdpmid file has not yet been
generated (ie on a fresh clean build machine).
  • Loading branch information
pcolby committed Mar 14, 2015
1 parent a23fb63 commit fe22161
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion include/pcp-cpp/pmda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,6 @@ class pmda {
std::ostream &stream = (filename == "-") ? std::cout : file_stream;
stream
<< std::endl
<< "#include <stdpmid>" << std::endl << std::endl
<< "root { " << get_pmda_name() << " }" << std::endl << std::endl
<< "#include \"pmns\"" << std::endl << std::endl;
}
Expand Down
2 changes: 0 additions & 2 deletions test/functional/test_simple_export_root.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#include <stdpmid>

root { simple }

#include "pmns"
Expand Down
2 changes: 0 additions & 2 deletions test/functional/test_simplecpu_export_root.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#include <stdpmid>

root { simplecpu }

#include "pmns"
Expand Down
2 changes: 0 additions & 2 deletions test/functional/test_trivial_export_root.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#include <stdpmid>

root { trivial }

#include "pmns"
Expand Down

0 comments on commit fe22161

Please sign in to comment.