Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Add default values to Device_6Impl constructor parameters (#420)
Browse files Browse the repository at this point in the history
to avoid compilation errors when compiling a C++ server generated by POGO
  • Loading branch information
bourtemb authored and Ingvord committed Dec 18, 2017
1 parent 432dcc4 commit 30de8bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/tango/server/device_6.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ namespace Tango {
idl_version = 6;
}

Device_6Impl(DeviceClass *device_class, const char *dev_name, const char *desc, DevState dev_state,
const char *dev_status) : Device_5Impl(device_class, dev_name, desc, dev_state, dev_status) {
Device_6Impl(DeviceClass *device_class, const char *dev_name, const char *desc = "A TANGO device",
DevState dev_state = Tango::UNKNOWN, const char *dev_status = StatusNotSet)
: Device_5Impl(device_class, dev_name, desc, dev_state, dev_status) {
idl_version = 6;
}

Expand Down

0 comments on commit 30de8bd

Please sign in to comment.