Skip to content

Commit

Permalink
add coverity badge to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suxue committed Jul 29, 2014
1 parent 5077692 commit 6dab1a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/suxue/luamm.svg?branch=dev)](https://travis-ci.org/suxue/luamm)
[![Coverage Status](https://coveralls.io/repos/suxue/luamm/badge.png?branch=dev)](https://coveralls.io/r/suxue/luamm?branch=dev)
[![Coverity](https://scan.coverity.com/projects/2665/badge.svg)](https://scan.coverity.com/projects/2665)

Dependencies
------------
Expand Down
2 changes: 1 addition & 1 deletion doc
Submodule doc updated from 38a2a0 to 267fb9
4 changes: 3 additions & 1 deletion luamm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,8 @@ class State {
Class_<Class> class_(const std::string& name) {
return Class_<Class>(name, *this);
}

virtual ~State() {}
};

namespace detail {
Expand Down Expand Up @@ -1284,7 +1286,7 @@ inline State::State(const State& o) : ptr_(o.ptr_) {}
class NewState : public State {
public:
NewState();
~NewState();
virtual ~NewState();
};

inline State::State(lua_State *p) : ptr_(p) { }
Expand Down

0 comments on commit 6dab1a9

Please sign in to comment.