Skip to content

Commit

Permalink
reflow: return const char* pointers
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.resiprocate.org/rep/resiprocate/main@10728 ddefafc4-47db-0310-ae44-fa13212b10f2
  • Loading branch information
dpocock committed Dec 10, 2013
1 parent 2dcee02 commit 5535b9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reflow/Flow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using namespace std;

#define RESIPROCATE_SUBSYSTEM FlowManagerSubsystem::FLOWMANAGER

char* srtp_error_string(err_status_t error)
const char* srtp_error_string(err_status_t error)
{
switch(error)
{
Expand Down Expand Up @@ -829,7 +829,7 @@ Flow::changeFlowState(FlowState newState)
mFlowState = newState;
}

char*
const char*
Flow::flowStateToString(FlowState state)
{
switch(state)
Expand Down
2 changes: 1 addition & 1 deletion reflow/Flow.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private:

volatile FlowState mFlowState;
void changeFlowState(FlowState newState);
char* flowStateToString(FlowState state);
const char* flowStateToString(FlowState state);

class ReceivedData
{
Expand Down

0 comments on commit 5535b9f

Please sign in to comment.