~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/error_message.cc

  • Committer: Brian Aker
  • Date: 2011-10-20 02:45:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: brian@tangent.org-20111020024557-33gjpv1ixdws52al
Update naming convention for priority.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
class Print : public std::unary_function<plugin::ErrorMessage *, bool>
48
48
{
49
 
  error::level_t priority;
 
49
  error::priority_t priority;
50
50
  const char *format;
51
51
  va_list ap;
52
52
 
53
53
public:
54
 
  Print(error::level_t priority_arg,
 
54
  Print(error::priority_t priority_arg,
55
55
        const char *format_arg, va_list ap_arg) : 
56
56
    std::unary_function<plugin::ErrorMessage *, bool>(),
57
57
    priority(priority_arg), format(format_arg)
85
85
}; 
86
86
 
87
87
 
88
 
bool plugin::ErrorMessage::vprintf(error::level_t priority, char const *format, va_list ap)
 
88
bool plugin::ErrorMessage::vprintf(error::priority_t priority, char const *format, va_list ap)
89
89
{
90
90
  if (priority > error::verbosity())
91
91
  {