projects
/
profile
/
ivi
/
automotive-message-broker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a011a08
)
use const string ref
author
Kevron Rees
<kevron.m.rees@intel.com>
Thu, 12 Jun 2014 16:29:10 +0000
(09:29 -0700)
committer
Kevron Rees
<kevron.m.rees@intel.com>
Thu, 12 Jun 2014 16:29:21 +0000
(09:29 -0700)
lib/debugout.h
patch
|
blob
|
history
diff --git
a/lib/debugout.h
b/lib/debugout.h
index
1d32c18
..
4644ef7
100644
(file)
--- a/
lib/debugout.h
+++ b/
lib/debugout.h
@@
-28,7
+28,7
@@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
using namespace std;
-void debugOut(
string
message);
+void debugOut(
const string &
message);
class DebugOut
{
@@
-53,7
+53,7
@@
public:
out<<"WARNING ";
}
}
- DebugOut const& operator << (
string
message) const
+ DebugOut const& operator << (
const string &
message) const
{
if(mDebugLevel <= debugThreshhold || mDebugLevel == Error || mDebugLevel == Warning)
{