Add const qualifier to constructor port parameter
The port parameter defined by constructors should have a
const qualifier in order to allow a static string to be
passed. This change adds that qualifier
Issue-ID: RIC-534
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Ib5a20825c3ff897cea31a3fbaac58b33dc7633f4
diff --git a/src/xapp/xapp.cpp b/src/xapp/xapp.cpp
index 8feb52e..cb14f2e 100644
--- a/src/xapp/xapp.cpp
+++ b/src/xapp/xapp.cpp
@@ -54,7 +54,7 @@
If port is nil, then the default port is used (4560).
*/
-Xapp::Xapp( char* port, bool wait4table ) : Messenger( port, wait4table ) {
+Xapp::Xapp( const char* port, bool wait4table ) : Messenger( port, wait4table ) {
// nothing to do; all handled in Messenger constructor
}