~brianaker/gearmand/ref-client-fix

« back to all changes in this revision

Viewing changes to libgearman/job.hpp

  • Committer: Continuous Integration
  • Date: 2013-07-05 22:08:07 UTC
  • mfrom: (801.1.2 gearmand-1.2)
  • Revision ID: ci@tangent.org-20130705220807-65gokb7la3czw37z
Merge lp:~brianaker/gearmand/job-cleanup-for-exception Build: jenkins-Gearmand-701

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
  gearman_packet_st assigned;
70
70
  gearman_packet_st work;
71
71
  struct gearman_job_reducer_st *reducer;
72
 
  gearman_return_t error_code;
 
72
  gearman_return_t _error_code;
73
73
 
74
74
  gearman_universal_st& universal()
75
75
  {
76
76
    return _worker.universal;
77
77
  }
 
78
 
 
79
  gearman_universal_st& universal() const
 
80
  {
 
81
    return _worker.universal;
 
82
  }
 
83
 
 
84
  gearman_return_t error_code() const
 
85
  {
 
86
    return universal().error_code();
 
87
  }
78
88
};