Mesa (master): nv50/ir: add definitions of Target and CodeEmitter dtors

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Jan 19 21:16:37 UTC 2013


Module: Mesa
Branch: master
Commit: e264b8ef4138fb874bcf3f82cfd7468ee27768da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e264b8ef4138fb874bcf3f82cfd7468ee27768da

Author: Christoph Bumiller <christoph.bumiller at speed.at>
Date:   Sat Jan 19 22:08:01 2013 +0100

nv50/ir: add definitions of Target and CodeEmitter dtors

I really did build test, my compiler just doesn't seem to care.

---

 src/gallium/drivers/nv50/codegen/nv50_ir_target.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_target.h b/src/gallium/drivers/nv50/codegen/nv50_ir_target.h
index 757f4f9..304dda4 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_target.h
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_target.h
@@ -62,7 +62,7 @@ class CodeEmitter
 {
 public:
    CodeEmitter(const Target *);
-   virtual ~CodeEmitter();
+   virtual ~CodeEmitter() { }
 
    // returns whether the instruction was encodable and written
    virtual bool emitInstruction(Instruction *) = 0;
@@ -118,7 +118,7 @@ class Target
 {
 public:
    Target(bool j, bool s) : joinAnterior(j), hasSWSched(s) { }
-   virtual ~Target();
+   virtual ~Target() { }
 
    static Target *create(uint32_t chipset);
    static void destroy(Target *);




More information about the mesa-commit mailing list