summaryrefslogtreecommitdiff
path: root/odb/mysql/error.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-21 11:47:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 11:48:59 +0200
commitc83733757b74b0897b294d1368a0f8a0abe49184 (patch)
tree2f7252c1616e4813da0cd9c2461b88a5a47dfb3a /odb/mysql/error.cxx
parent6f855f902e8ea0b08d6aa2c1c95c265e696ac7c8 (diff)
Cosmetic changes
Diffstat (limited to 'odb/mysql/error.cxx')
-rw-r--r--odb/mysql/error.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/mysql/error.cxx b/odb/mysql/error.cxx
index 4700d12..32493f2 100644
--- a/odb/mysql/error.cxx
+++ b/odb/mysql/error.cxx
@@ -3,7 +3,8 @@
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-#include <new> // std::bad_alloc
+#include <new> // std::bad_alloc
+#include <string>
#include <odb/mysql/mysql.hxx>
#include <odb/mysql/connection.hxx>
@@ -18,8 +19,8 @@ namespace odb
void
translate_error (connection& c,
unsigned int e,
- const std::string& sqlstate,
- const std::string& message)
+ const string& sqlstate,
+ const string& message)
{
switch (e)
{