Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ran into a small error during compilation (make) and these changes resolve that. Error: DNP3XML/XmlToConfig.h: In instantiation of ‘static void apl::dnp::XmlToConfig::AddCommandData(const std::vector<T*>&, std::vector<apl::dnp::ControlRecord>&) [with T = #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DNP3XML/XmlToConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ DeviceTemplate XmlToConfig::Convert(const APLXML_DNP::DeviceTemplate_t& arCfg, b
return t;
}

CommandModes ConvertMode(const std::string& arMode)
CommandModes XmlToConfig::ConvertMode(const std::string& arMode)
{
if(arMode == "SBO") return CM_SBO_ONLY;
if(arMode == "DO_ONLY") return CM_DO_ONLY;
Expand Down
1 change: 1 addition & 0 deletions DNP3XML/XmlToConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class XmlToConfig
static SlaveConfig Convert(const APLXML_DNP::SlaveConfig_t& arCfg, const APLXML_DNP::AppLayer_t& arApp);
static VtoConfig Convert(const APLXML_DNP::VtoPorts_t& arCfg);
static DeviceTemplate Convert( const APLXML_DNP::DeviceTemplate_t& arCfg, bool aStartOnline = false);
static CommandModes ConvertMode(const std::string& arMode);

private:

Expand Down