Skip to content

Commit

Permalink
Fixed eat.h not being inline
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzoDK committed Aug 23, 2021
1 parent 52941d5 commit 9f3a13a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgname="rpcommon"
provides=('rpcommon')
conflicts=('rpcommon-dev')
pkgver=0.1.5
pkgver=0.1.6
pkgrel=1
arch=('any')
pkgdesc="A compilation of small and common functions to make the dev life easier"
Expand Down
4 changes: 2 additions & 2 deletions RPCommon/eat.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include "strlen.h"
#include "strreverse.h"
void Eat(const char* cs)
inline void Eat(const char* cs)
{
std::string s = std::string(cs);
size_t len = Cstrlen(cs);
Expand All @@ -16,7 +16,7 @@ void Eat(const char* cs)

}

void Eat(std::string &s)
inline void Eat(std::string &s)
{
if(s.size() > 0)
{
Expand Down

0 comments on commit 9f3a13a

Please sign in to comment.